summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorOliver Tappe2008-02-14 21:52:40 +0100
committerOliver Tappe2008-02-14 21:52:40 +0100
commita809c0b3ed62aec39b6e4fc8400db9f865ccc56a (patch)
tree03aa90c55a64e282f0d2970c0f9c982049198853 /bin
parent* fixed handling of links when copying kernel modules (diff)
downloadcore-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-xbin/slxsettings4
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(