summaryrefslogtreecommitdiff
path: root/puppet
diff options
context:
space:
mode:
authorirregulator <irregulator@riseup.net>2014-05-22 20:46:06 +0300
committerelijah <elijah@riseup.net>2014-07-01 16:05:41 -0700
commitf8694b037dfd22382dc2abd8afefd947d3531974 (patch)
tree0ed5b71eab217be61bef4dedf400e9fd9468f866 /puppet
parent7c9dd9ee9653c854badaf4f1d21d7dd833e3e620 (diff)
Change exit status code if config file is missing
Diffstat (limited to 'puppet')
-rwxr-xr-xpuppet/modules/obfsproxy/files/obfsproxy_init2
1 files changed, 1 insertions, 1 deletions
diff --git a/puppet/modules/obfsproxy/files/obfsproxy_init b/puppet/modules/obfsproxy/files/obfsproxy_init
index 4c9bcedc..2496bba7 100755
--- a/puppet/modules/obfsproxy/files/obfsproxy_init
+++ b/puppet/modules/obfsproxy/files/obfsproxy_init
@@ -27,7 +27,7 @@ if [ -f $CONF ] ; then
. $CONF
else
echo "Obfsproxy configuration file is missing, aborting..."
- exit
+ exit 2
fi
DAEMONARGS=" --log-min-severity=$LOG --data-dir=$DATDIR $TRANSPORT \