Use a more helpful fatal error message than "Toto! This doesn't look

like Kansas anymore!" when unable to return to the original working
directory.

PR:		bin/16015
This commit is contained in:
Sheldon Hearn 2000-01-11 12:37:16 +00:00
parent eafb8437ea
commit b8d1e942b5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55812

View File

@ -169,7 +169,7 @@ pkg_do(char *pkg)
if (chdir(home) == FAIL) {
cleanup(0);
errx(2, "Toto! This doesn't look like Kansas anymore!");
errx(2, "unable to return to working directory %s!");
}
if (!Fake) {
@ -200,7 +200,7 @@ pkg_do(char *pkg)
if (chdir(home) == FAIL) {
cleanup(0);
errx(2, "Toto! This doesn't look like Kansas anymore!");
errx(2, "unable to return to working directory %s!");
}
if (!Fake) {