diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/slxsettings | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/slxsettings b/bin/slxsettings index 07b268e9..643b8026 100755 --- a/bin/slxsettings +++ b/bin/slxsettings @@ -72,8 +72,8 @@ my %configPattern = ( # the remaining cmdline arguments are set or reset actions, each followed # by a single argument: while (scalar @ARGV) { - my $action = shift; - my $arg = shift; + my $action = shift || ''; + my $arg = shift || ''; if ($action eq 'set') { if ($arg !~ m[^([-\w]+)=(.+)$]) { die _tr( |