summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/hydra/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydra/init b/share/hydra/init
index d9eeccb..791d4e1 100755
--- a/share/hydra/init
+++ b/share/hydra/init
@@ -43,7 +43,7 @@ echo "$HYDRA=\"$BASEDIR\"" >> $CONFIG
# Puppet configuration
echo "Searching for a puppet repository at $BASEDIR..."
-PUPPET="$(dirname `find $BASEDIR -name puppet.conf | tail -n 1`)"
+PUPPET="$(dirname `find $BASEDIR -name puppet.conf | tail -n 1` 2> /dev/null)"
# TODO: setup or clone initial repositories