From 78777ba9f3e8870975089d63fbd787361adc915a Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 28 Mar 2011 18:30:09 +0200 Subject: [PATCH] use same argv processing as elsewhere Signed-off-by: Nico Schottelius --- bin/cdist-remote-explorer-run | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/cdist-remote-explorer-run b/bin/cdist-remote-explorer-run index 028f8d7d..cef91e0d 100755 --- a/bin/cdist-remote-explorer-run +++ b/bin/cdist-remote-explorer-run @@ -25,9 +25,7 @@ # . cdist-config -if [ $# -ne 3 ]; then - __cdist_usage " " -fi +[ $# -eq 3 ] || __cdist_usage " " set -ue # Variable that defines the home of the explorers