diff options
Diffstat (limited to 'winsup/cygwin/gendevices')
-rwxr-xr-x | winsup/cygwin/gendevices | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/gendevices b/winsup/cygwin/gendevices index cd7a53b9e..d8a5a5d73 100755 --- a/winsup/cygwin/gendevices +++ b/winsup/cygwin/gendevices @@ -55,7 +55,11 @@ close SHILKA; chdir '/tmp'; system qw'shilka -length -strip -no-definitions', $shilka; -exit $? if $?; +if ($? == -1) { + die "$0: shilka command missing? - $!\n"; +} else { + exit $? if $?; +} chdir $cwd; unlink $shilka; open(C, $c) or die "$0: couldn't open $c - $!\n"; |