diff options
author | sheldonh <sheldonh@FreeBSD.org> | 2000-01-11 12:37:16 +0000 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 2000-01-11 12:37:16 +0000 |
commit | aa0fc48ff198536186ad943ae10773b1cc9238a6 (patch) | |
tree | 63f6a9ec1a15fa9259d9a4812c340a938097a0e0 /usr.sbin/pkg_install | |
parent | 295f94c3f51debee6cef5945fd557be8ceb2a5a4 (diff) | |
download | FreeBSD-src-aa0fc48ff198536186ad943ae10773b1cc9238a6.zip FreeBSD-src-aa0fc48ff198536186ad943ae10773b1cc9238a6.tar.gz |
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
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r-- | usr.sbin/pkg_install/delete/perform.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/delete/perform.c b/usr.sbin/pkg_install/delete/perform.c index 028ab42..12de6b3 100644 --- a/usr.sbin/pkg_install/delete/perform.c +++ b/usr.sbin/pkg_install/delete/perform.c @@ -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) { |