From 83725c84545275744416f398ebd420ed8eae2d25 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Sun, 8 Jun 2008 12:36:39 +0000 Subject: * 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 --- config-db/slxconfig-demuxer | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'config-db/slxconfig-demuxer') 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(); -- cgit v1.2.3-55-g7522