Skip to content

Commit

Permalink
TheHive-Project#1646 make check_requirements work properly
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromeleonard committed Nov 18, 2020
1 parent 71ec8d2 commit da69d1b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions package/thehive
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,13 @@ check_requirements() {
INIT=$(readlink /proc/1/exe 2> /dev/null)
case ${INIT} in
*systemd*)
echo echo "Your are using systemd. This script should not be used"
echo "Your are using systemd. This script should not be used"
return 1
;;
*upstart*)
echo echo "Your are using upstart. This script should not be used"
return 1;;
echo "Your are using upstart. This script should not be used"
return 1
;;
esac
return 0
}
Expand Down

0 comments on commit da69d1b

Please sign in to comment.