X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=edit%2Frun-edit-locally;h=3a6a9abf06b434c48e4c44c0ddaa0a0640f64a0c;hb=5021b2efea92c021c04812056149485ac4803e9c;hp=90968a277b2d3457d177a195ccb482676fcd3c62;hpb=7801621dc946fe894c960e683db3cf921ef23af6;p=libguestfs.git diff --git a/edit/run-edit-locally b/edit/run-edit-locally index 90968a2..3a6a9ab 100755 --- a/edit/run-edit-locally +++ b/edit/run-edit-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 {