fix typo
authorDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 18 Jan 2017 10:58:15 +0000 (11:58 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 18 Jan 2017 10:58:15 +0000 (11:58 +0100)
gnt-lv-remove-snap.sh

index 29624fe..1d9aa6c 100755 (executable)
@@ -11,7 +11,7 @@ ls /dev/mapper/*.snap | xargs -i lvremove -f {}
 else
 
 # umount all snapshots
-gnt-cluster command -M mount | grep snap | awk '{ print "ssh "$1" umount "$4 }' | sed 's/: / /' | xargs -i sh -xec {}
+gnt-cluster command -M mount | grep snap | awk '{ print "ssh "$1" umount "$4 }' | sed 's/: / /' | xargs -i sh -exec {}
 
 # remove mount directories
 gnt-cluster command 'rmdir /dev/shm/*.snap'