mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
nix-shell --command: Remove bogus argument to "exit"
Fixes "exit: Inappropriate: numeric argument required" errors.
This commit is contained in:
parent
153a943de7
commit
7ba0e9cb48
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ for (my $n = 0; $n < scalar @ARGV; $n++) {
|
|||
elsif ($arg eq "--command") {
|
||||
$n++;
|
||||
die "$0: ‘$arg’ requires an argument\n" unless $n < scalar @ARGV;
|
||||
$envCommand = "$ARGV[$n]\nexit $!";
|
||||
$envCommand = "$ARGV[$n]\nexit";
|
||||
}
|
||||
|
||||
elsif ($arg eq "--exclude") {
|
||||
|
|
Loading…
Reference in a new issue