diff options
Diffstat (limited to 'perl-install')
-rwxr-xr-x | perl-install/standalone/drakupdate_fstab | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/drakupdate_fstab b/perl-install/standalone/drakupdate_fstab index 3285daac7..73c308bda 100755 --- a/perl-install/standalone/drakupdate_fstab +++ b/perl-install/standalone/drakupdate_fstab @@ -29,8 +29,8 @@ use fs; $::isStandalone = 1; #- not using standalone.pm which generates too many logs for drakupdate_fstab purpose -$::testing = $ARGV[0] eq '--test' && shift; -$::auto = $ARGV[0] eq '--auto' && shift; +$::testing = $ARGV[0] eq '--test' && shift @ARGV; +$::auto = $ARGV[0] eq '--auto' && shift @ARGV; my ($raw_action, $device_name) = @ARGV; my ($action) = $raw_action =~ /^--(add|del)/; |