From c0724584680562330347026ee9ec72f74066bc51 Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Tue, 2 Feb 2010 15:47:02 +0000 Subject: [PATCH] Don't echo from the InstallationCheck script Return codes from InstallationCheck are turned into errors by the GUI - don't echo them out to stdout as well. Change-Id: Iee9c1ff4687ea42ab8c18566493a8a92b6d51fed Reviewed-on: http://gerrit.openafs.org/1206 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- src/packaging/MacOS/InstallationCheck.10 | 2 -- src/packaging/MacOS/InstallationCheck.8 | 2 -- src/packaging/MacOS/InstallationCheck.9 | 2 -- 3 files changed, 6 deletions(-) diff --git a/src/packaging/MacOS/InstallationCheck.10 b/src/packaging/MacOS/InstallationCheck.10 index b4774bfd2..26e98d8cb 100644 --- a/src/packaging/MacOS/InstallationCheck.10 +++ b/src/packaging/MacOS/InstallationCheck.10 @@ -2,7 +2,6 @@ majorvers=`uname -r | sed 's/\..*//'` echo "InstallationCheck: os release is $majorvers" if [ $majorvers -ne 10 ]; then -echo "InstallationCheck: not ok" exit 112 fi @@ -18,5 +17,4 @@ if [ -e $tmpcellalias ]; then mv -f $tmpcellalias $tmpcellalias.$date fi -echo "InstallationCheck: ok" exit 0 diff --git a/src/packaging/MacOS/InstallationCheck.8 b/src/packaging/MacOS/InstallationCheck.8 index 1975ef742..fd32410a5 100644 --- a/src/packaging/MacOS/InstallationCheck.8 +++ b/src/packaging/MacOS/InstallationCheck.8 @@ -2,7 +2,6 @@ majorvers=`uname -r | sed 's/\..*//'` echo "InstallationCheck: os release is $majorvers" if [ $majorvers -ne 8 ]; then -echo "InstallationCheck: not ok" exit 112 fi @@ -18,5 +17,4 @@ if [ -e $tmpcellalias ]; then mv -f $tmpcellalias $tmpcellalias.$date fi -echo "InstallationCheck: ok" exit 0 diff --git a/src/packaging/MacOS/InstallationCheck.9 b/src/packaging/MacOS/InstallationCheck.9 index 05e259235..8a0d0ecf0 100644 --- a/src/packaging/MacOS/InstallationCheck.9 +++ b/src/packaging/MacOS/InstallationCheck.9 @@ -2,7 +2,6 @@ majorvers=`uname -r | sed 's/\..*//'` echo "InstallationCheck: os release is $majorvers" if [ $majorvers -ne 9 ]; then -echo "InstallationCheck: not ok" exit 112 fi @@ -18,5 +17,4 @@ if [ -e $tmpcellalias ]; then mv -f $tmpcellalias $tmpcellalias.$date fi -echo "InstallationCheck: ok" exit 0 -- 2.39.5