diff options
author | Oliver Tappe | 2008-06-08 14:36:39 +0200 |
---|---|---|
committer | Oliver Tappe | 2008-06-08 14:36:39 +0200 |
commit | 83725c84545275744416f398ebd420ed8eae2d25 (patch) | |
tree | 86a27204524234a76de1fec3f4640e42882b4e78 /config-db/slxconfig-demuxer | |
parent | * sort the labels in the boot menu (diff) | |
download | core-83725c84545275744416f398ebd420ed8eae2d25.tar.gz core-83725c84545275744416f398ebd420ed8eae2d25.tar.xz core-83725c84545275744416f398ebd420ed8eae2d25.zip |
* since I regularly got irritated by slxconfig-demuxer saying something about
'errors' (usually meaning that there weren't any) I have changed the success
message to 'all systems ok'
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1865 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db/slxconfig-demuxer')
-rwxr-xr-x | config-db/slxconfig-demuxer | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config-db/slxconfig-demuxer b/config-db/slxconfig-demuxer index 3510757e..a14ffc8d 100755 --- a/config-db/slxconfig-demuxer +++ b/config-db/slxconfig-demuxer @@ -171,10 +171,12 @@ writeConfigurations(); my $wr = $option{dryRun} ? 'would have written' : 'wrote'; my $errCount = $systemErrCount ? $systemErrCount : 'no'; +my $statusString + = $systemErrCount ? "$errCount system(s) had errors" : 'all systems ok'; print "\n", unshiftHereDoc(<<"End-of-Here"); $wr $systemConfCount system- and $clientSystemConfCount client-specific configurations to $tftpbootPath/client-config $initramfsCount initramfs were created - $errCount system(s) had errors + $statusString End-of-Here $openslxDB->disconnect(); |