summaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
authorOliver Tappe2007-07-18 16:28:59 +0200
committerOliver Tappe2007-07-18 16:28:59 +0200
commit6b014c439e1c3612741ff27e9cc3222b8d450f3e (patch)
tree46a91e7982a28269bc0a35a51cfb284d280d1a37 /installer
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 'installer')
-rwxr-xr-xinstaller/slxos-export2
-rwxr-xr-xinstaller/slxos-setup2
2 files changed, 2 insertions, 2 deletions
diff --git a/installer/slxos-export b/installer/slxos-export
index bdebd9f3..ee1555ec 100755
--- a/installer/slxos-export
+++ b/installer/slxos-export
@@ -56,7 +56,7 @@ if ($versionReq) {
openslxInit();
-my $action = shift @ARGV;
+my $action = shift @ARGV || '';
if ($action =~ m[^list-ex]i) {
print _tr("List of exported vendor-OSes:\n");
diff --git a/installer/slxos-setup b/installer/slxos-setup
index f6d0052d..98685646 100755
--- a/installer/slxos-setup
+++ b/installer/slxos-setup
@@ -65,7 +65,7 @@ if ($> != 0) {
openslxInit();
-my $action = shift @ARGV;
+my $action = shift @ARGV || '';
# create ossetup-engine for given distro and start it:
my $engine = OpenSLX::OSSetup::Engine->new;