From 564a5df5cbc5b0d39cee8ebb432da2e8d999a4b2 Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 22 Aug 2012 19:13:27 +0000 Subject: [PATCH] Moving the true error after the usage, it obscures the true error git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13580 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client/bin/updatenode | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-client/bin/updatenode b/xCAT-client/bin/updatenode index 2ada6bdf7..c5b9ee128 100755 --- a/xCAT-client/bin/updatenode +++ b/xCAT-client/bin/updatenode @@ -74,8 +74,8 @@ if (!($tmp =~ / (--help|-h|-v|--version)/)) { $arg = join(',',@tempnr); $cmdref->{noderange}->[0]=$arg; } else { - print "The noderange should be the first argument.\n"; &updatenode_usage(); + print "The noderange should be the first argument.\n"; exit 1; } }