Skip to content

Commit

Permalink
Merge pull request #1667 from jeromeleonard/develop
Browse files Browse the repository at this point in the history
#1646 make check_requirements work properly
  • Loading branch information
To-om authored Nov 18, 2020
2 parents 71ec8d2 + da69d1b commit dd9c1d9
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 dd9c1d9

Please sign in to comment.