Skip to content

Commit

Permalink
Fix shellcheck errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sideeffect42 committed Mar 21, 2023
1 parent 57bc77b commit 37bfa58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion type/__ssrq_zfs/manifest
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ in
unset require
;;
(*)
: "${__type:?}" # make shellcheck happy
printf "Your operating system (%s) is currently not supported by this type (%s)\n" "${os}" "${__type##*/}" >&2
printf "Please contribute an implementation for it if you can.\n" >&2
exit 1
Expand Down Expand Up @@ -104,5 +105,5 @@ set_zed_rc() {
set_zed_rc ZED_NOTIFY_INTERVAL_SECS 900
set_zed_rc ZED_EMAIL_ADDR "$(head -n 1 "${__object:?}/parameter/mailto")"
set_zed_rc ZED_NOTIFY_VERBOSE $(test -f "${__object:?}/parameter/notify-verbose" && echo 1 || echo 0)
set_zed_rc ZED_NOTIFY_VERBOSE "$(test -f "${__object:?}/parameter/notify-verbose" && echo 1 || echo 0)"
set_zed_rc ZED_USE_ENCLOSURE_LEDS 1

0 comments on commit 37bfa58

Please sign in to comment.