summaryrefslogtreecommitdiffstats
path: root/config-db/slxconfig
diff options
context:
space:
mode:
authorOliver Tappe2007-07-18 16:28:59 +0200
committerOliver Tappe2007-07-18 16:28:59 +0200
commit6b014c439e1c3612741ff27e9cc3222b8d450f3e (patch)
tree46a91e7982a28269bc0a35a51cfb284d280d1a37 /config-db/slxconfig
parentWrong path checked (gdm in passwd). (diff)
downloadcore-6b014c439e1c3612741ff27e9cc3222b8d450f3e.tar.gz
core-6b014c439e1c3612741ff27e9cc3222b8d450f3e.tar.xz
core-6b014c439e1c3612741ff27e9cc3222b8d450f3e.zip
* fixed a couple of 'use of uninitialized values' reported by Dirk
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1244 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db/slxconfig')
-rwxr-xr-xconfig-db/slxconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/config-db/slxconfig b/config-db/slxconfig
index 94ebc13a..08d2d4e2 100755
--- a/config-db/slxconfig
+++ b/config-db/slxconfig
@@ -67,7 +67,7 @@ openslxInit();
my $openslxDB = OpenSLX::ConfigDB->new();
$openslxDB->connect();
-my $action = shift @ARGV;
+my $action = shift @ARGV || '';
if ($action =~ m[^add-system$]i) {
addSystemToConfigDB(@ARGV);
} elsif ($action =~ m[^add-client$]i) {