summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-10-22 21:44:33 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-10-22 21:44:33 -0200
commit30f4a09d33f9484381bd3cbd929d75a320c5c348 (patch)
tree83ffabb37285ba1ff1669f3d05a0523b7cdf3f3e /share
parentfb10087caf99fa1564d1c2bf8c0655121e16d074 (diff)
downloadhydra-30f4a09d33f9484381bd3cbd929d75a320c5c348.tar.gz
hydra-30f4a09d33f9484381bd3cbd929d75a320c5c348.tar.bz2
Minor fix
Diffstat (limited to 'share')
-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