summaryrefslogtreecommitdiff
path: root/eg/van/vanish
diff options
context:
space:
mode:
Diffstat (limited to 'eg/van/vanish')
-rw-r--r--eg/van/vanish4
1 files changed, 2 insertions, 2 deletions
diff --git a/eg/van/vanish b/eg/van/vanish
index b665e7c8d9..e49c0528c7 100644
--- a/eg/van/vanish
+++ b/eg/van/vanish
@@ -1,6 +1,6 @@
#!/usr/bin/perl
-# $Header: vanish,v 2.0 88/06/05 00:17:36 root Exp $
+# $Header: vanish,v 3.0 89/10/18 15:16:46 lwall Locked $
sub it {
if ($olddir ne '.') {
@@ -20,7 +20,7 @@ sub it {
print `/bin/mv $startfiles$filelist .deleted$force`;
}
if ($olddir ne '.') {
- (chdir $pwd) || die "Can't get back to original directory: $pwd";
+ (chdir $pwd) || die "Can't get back to original directory $pwd: $!\n";
}
}