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 <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
majorvers=`uname -r | sed 's/\..*//'`
echo "InstallationCheck: os release is $majorvers"
if [ $majorvers -ne 10 ]; then
-echo "InstallationCheck: not ok"
exit 112
fi
mv -f $tmpcellalias $tmpcellalias.$date
fi
-echo "InstallationCheck: ok"
exit 0
majorvers=`uname -r | sed 's/\..*//'`
echo "InstallationCheck: os release is $majorvers"
if [ $majorvers -ne 8 ]; then
-echo "InstallationCheck: not ok"
exit 112
fi
mv -f $tmpcellalias $tmpcellalias.$date
fi
-echo "InstallationCheck: ok"
exit 0
majorvers=`uname -r | sed 's/\..*//'`
echo "InstallationCheck: os release is $majorvers"
if [ $majorvers -ne 9 ]; then
-echo "InstallationCheck: not ok"
exit 112
fi
mv -f $tmpcellalias $tmpcellalias.$date
fi
-echo "InstallationCheck: ok"
exit 0