summaryrefslogtreecommitdiffstats
path: root/df/run-df-locally
diff options
context:
space:
mode:
Diffstat (limited to 'df/run-df-locally')
-rwxr-xr-xdf/run-df-locally2
1 files changed, 1 insertions, 1 deletions
diff --git a/df/run-df-locally b/df/run-df-locally
index 35574438..f8a50aa5 100755
--- a/df/run-df-locally
+++ b/df/run-df-locally
@@ -34,7 +34,7 @@ my $path = $0;
# Follow symlinks until we get to the real file
while(-l $path) {
- my $link = readlink($path);
+ my $link = readlink($path) or die "readlink: $path: $!";
if(File::Spec->file_name_is_absolute($link)) {
$path = $link;
} else {