mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 08:43:23 +00:00
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:
parent
eafb8437ea
commit
b8d1e942b5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55812
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user