projects
/
ganeti-extstorage-zfs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
don't exit 1 on non-existing snapshots
[ganeti-extstorage-zfs]
/
sbin
/
lvremove
diff --git
a/sbin/lvremove
b/sbin/lvremove
index
3136805
..
c99accd
100755
(executable)
--- a/
sbin/lvremove
+++ b/
sbin/lvremove
@@
-13,7
+13,7
@@
if echo $* | grep -q $EXTP_VG ; then
done
# destroy snapshot and clone
- zfs destroy -R $EXTP_ZFS/$VOL_NAME
+ zfs destroy -R $EXTP_ZFS/$VOL_NAME
|| exit 0 # FIXME
test -e /dev/$EXTP_VG/$VOL_NAME && rm /dev/$EXTP_VG/$VOL_NAME
else
/sbin/lvm lvrename $*