Found a way to exec the process and yet have it work

This commit is contained in:
Andreas Lindhé 2017-07-06 09:20:54 +02:00
parent 8c45add2c0
commit 739972f18a
4 changed files with 4 additions and 4 deletions

View File

@ -2,4 +2,4 @@
# Only call zfs-auto-snapshot if it's available
which zfs-auto-snapshot > /dev/null && \
zfs-auto-snapshot --quiet --syslog --label=daily --keep=31 //
exec zfs-auto-snapshot --quiet --syslog --label=daily --keep=31 //

View File

@ -2,4 +2,4 @@
# Only call zfs-auto-snapshot if it's available
which zfs-auto-snapshot > /dev/null && \
zfs-auto-snapshot --quiet --syslog --label=hourly --keep=24 //
exec zfs-auto-snapshot --quiet --syslog --label=hourly --keep=24 //

View File

@ -2,4 +2,4 @@
# Only call zfs-auto-snapshot if it's available
which zfs-auto-snapshot > /dev/null && \
zfs-auto-snapshot --quiet --syslog --label=monthly --keep=12 //
exec zfs-auto-snapshot --quiet --syslog --label=monthly --keep=12 //

View File

@ -2,4 +2,4 @@
# Only call zfs-auto-snapshot if it's available
which zfs-auto-snapshot > /dev/null && \
zfs-auto-snapshot --quiet --syslog --label=weekly --keep=8 //
exec zfs-auto-snapshot --quiet --syslog --label=weekly --keep=8 //