Skip to content

Commit

Permalink
do not exit 1 if unable to start after installation (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
jancajthaml authored Feb 4, 2019
1 parent 9945273 commit 5cdfef8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packaging/debian_amd64/DEBIAN/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ case "$1" in
if [ -f "/etc/init/vault.conf" ] ; then
systemctl unmask vault.service >/dev/null
systemctl enable vault.service >/dev/null
systemctl start vault.service >/dev/null
(systemctl start vault.service >/dev/null || :)
else
(>&2 echo "/etc/init/vault.conf file not found")
exit 1
Expand Down
2 changes: 1 addition & 1 deletion packaging/debian_armhf/DEBIAN/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ case "$1" in
if [ -f "/etc/init/vault.conf" ] ; then
systemctl unmask vault.service >/dev/null
systemctl enable vault.service >/dev/null
systemctl start vault.service >/dev/null
(systemctl start vault.service >/dev/null || :)
else
(>&2 echo "/etc/init/vault.conf file not found")
exit 1
Expand Down

0 comments on commit 5cdfef8

Please sign in to comment.