Skip to content

Commit 46ec323

Browse files
Epicpkmn11jlesage
authored andcommitted
hooks: Fix incorrect $STATUS check in disc_rip_terminated example
I was setting up hooks and got a bit tripped up by this example, turns out it expects the string "SUCCESS" not the number 0
1 parent 03ff59b commit 46ec323

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rootfs/defaults/hooks/disc_rip_terminated.sh.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ OUTPUT_DIR="$3"
1616
STATUS="$4"
1717

1818
case "$STATUS" in
19-
0)
19+
"SUCCESS")
2020
echo "The automatic disc ripper successfully ripped disc '$DISC_LABEL' (drive $DRV_ID)."
2121
;;
2222
*)

0 commit comments

Comments
 (0)