diff options
author | Oliver Tappe | 2007-07-18 16:28:59 +0200 |
---|---|---|
committer | Oliver Tappe | 2007-07-18 16:28:59 +0200 |
commit | 6b014c439e1c3612741ff27e9cc3222b8d450f3e (patch) | |
tree | 46a91e7982a28269bc0a35a51cfb284d280d1a37 /config-db/slxconfig | |
parent | Wrong path checked (gdm in passwd). (diff) | |
download | core-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-x | config-db/slxconfig | 2 |
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) { |