Skip to content

Commit d8b1730

Browse files
committed
Add an explicit exit 0 to the end of the script.
The implicit return is "$?", which can be set non-zero by an earlier command.
1 parent adebbd6 commit d8b1730

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/zfs-auto-snapshot.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,4 +508,5 @@ done
508508
print_log notice "@$SNAPSHOT_NAME, \
509509
$SNAPSHOT_COUNT created, $DESTRUCTION_COUNT destroyed, $WARNING_COUNT warnings."
510510

511+
exit 0
511512
# }

0 commit comments

Comments
 (0)