sh.zio.backup: fix broken say
parent
dd75210f5b
commit
3181e9564f
|
@ -312,7 +312,7 @@ elif [[ "$1" == "toggle-mount" ]]; then
|
||||||
umount "$restic_mount_path"
|
umount "$restic_mount_path"
|
||||||
|
|
||||||
if [[ $? == 0 ]]; then
|
if [[ $? == 0 ]]; then
|
||||||
say warn "Deleting: $restic_mount_path"
|
say warning "Deleting: $restic_mount_path"
|
||||||
rm -rf "$restic_mount_path"
|
rm -rf "$restic_mount_path"
|
||||||
else
|
else
|
||||||
die "Failed to umount (are you still in '$restic_mount_path'?)"
|
die "Failed to umount (are you still in '$restic_mount_path'?)"
|
||||||
|
|
Loading…
Reference in New Issue