diff options
author | irregulator <irregulator@riseup.net> | 2014-05-22 20:46:06 +0300 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2014-07-01 16:05:41 -0700 |
commit | f8694b037dfd22382dc2abd8afefd947d3531974 (patch) | |
tree | 0ed5b71eab217be61bef4dedf400e9fd9468f866 /puppet/modules/obfsproxy | |
parent | 7c9dd9ee9653c854badaf4f1d21d7dd833e3e620 (diff) |
Change exit status code if config file is missing
Diffstat (limited to 'puppet/modules/obfsproxy')
-rwxr-xr-x | puppet/modules/obfsproxy/files/obfsproxy_init | 2 |
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 \ |