]> gitweb.fluxo.info Git - hydra.git/commitdiff
Minor fix
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 22 Oct 2013 23:44:33 +0000 (21:44 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 22 Oct 2013 23:44:33 +0000 (21:44 -0200)
share/hydra/init

index d9eeccbba7c39ba33a6f70c36c3675abac1e7ecb..791d4e1f10de163547cebfd4ff6b41d36335cb28 100755 (executable)
@@ -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