From: Silvio Rhatto Date: Tue, 22 Oct 2013 23:44:33 +0000 (-0200) Subject: Minor fix X-Git-Tag: 0.2~38 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=30f4a09d33f9484381bd3cbd929d75a320c5c348;p=hydra.git Minor fix --- 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