From 25093aa35f8ec5affd01e49c32949213e1700cc0 Mon Sep 17 00:00:00 2001 From: maroy Date: Fri, 25 Mar 2005 15:52:15 +0000 Subject: [PATCH] now prints the help in case of parameter errors --- livesupport/bin/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/livesupport/bin/install.sh b/livesupport/bin/install.sh index 89e18115d..22a0106b1 100755 --- a/livesupport/bin/install.sh +++ b/livesupport/bin/install.sh @@ -22,7 +22,7 @@ # # # Author : $Author: maroy $ -# Version : $Revision: 1.1 $ +# Version : $Revision: 1.2 $ # Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/bin/Attic/install.sh,v $ #------------------------------------------------------------------------------- #------------------------------------------------------------------------------- @@ -125,6 +125,7 @@ done if [ "x$installdir" == "x" ]; then echo "Required parameter install directory not specified."; + printUsage; exit 1; fi