diff options
author | Oliver Tappe | 2008-02-14 21:52:40 +0100 |
---|---|---|
committer | Oliver Tappe | 2008-02-14 21:52:40 +0100 |
commit | a809c0b3ed62aec39b6e4fc8400db9f865ccc56a (patch) | |
tree | 03aa90c55a64e282f0d2970c0f9c982049198853 /bin | |
parent | * fixed handling of links when copying kernel modules (diff) | |
download | core-a809c0b3ed62aec39b6e4fc8400db9f865ccc56a.tar.gz core-a809c0b3ed62aec39b6e4fc8400db9f865ccc56a.tar.xz core-a809c0b3ed62aec39b6e4fc8400db9f865ccc56a.zip |
Closing ticket #169:
* fixed undefined values in slxsettings when no action has been given
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1544 95ad53e4-c205-0410-b2fa-d234c58c8868
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( |