Report an error if switching to Python fails
This commit is contained in:
parent
98eb36557d
commit
6cf3127527
1 changed files with 3 additions and 1 deletions
|
@ -2,4 +2,6 @@
|
|||
# Backward compatibility redirection
|
||||
my $py = $0;
|
||||
$py =~ s/\.pl$/.py/;
|
||||
exec 'python3', $py, @ARGV
|
||||
exec 'python3', $py, @ARGV;
|
||||
print STDERR "$0: python3: $!\n";
|
||||
exit 127;
|
||||
|
|
Loading…
Reference in a new issue