Skip to content

Commit

Permalink
profilealert.sh: returning a value is pointless,
Browse files Browse the repository at this point in the history
as the return value of the profile.d entries is ignored
  • Loading branch information
r00t- committed Jul 30, 2019
1 parent 437d224 commit 33a73d3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions notification/chkboot-profilealert.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,5 @@

# only try to display chkboot changes if the 'profile' alert style has been selected
if grep "CHKBOOT_STYLES=.*profile" /etc/default/chkboot.conf >/dev/null ; then
# run whatever issues exist then return the response
chkboot-check
return "$?"
fi

0 comments on commit 33a73d3

Please sign in to comment.