diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2022-07-12 12:27:51 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2022-07-12 12:27:51 +0200 |
commit | 01599a8de056f9a90ebd48f673705e8207a59e4c (patch) | |
tree | 925a1b2907dc9f3b65ee8effca32252656b90f70 /lbu.in | |
parent | 0cd91867553711635d81f72e5e600445efec0461 (diff) | |
download | alpine-conf-01599a8de056f9a90ebd48f673705e8207a59e4c.zip |
lbu: fix lbu revert usage
Diffstat (limited to 'lbu.in')
-rw-r--r-- | lbu.in | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -584,11 +584,12 @@ usage_revert() { The revision should be one of the files listed by 'lbu list-backup'. __EOF__ + exit $1 } cmd_revert() { local media=${2:-"$LBU_MEDIA"} - [ -z "$media" ] && usage_revert + [ -z "$media" ] && usage_revert "1" >&2 local mnt="/media/$media" local revertto="$mnt/$1" local current="$mnt/$(hostname).apkovl.tar.gz" |