[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Halevt-dev] Bashism in hvmount
From: |
Marcos Talau |
Subject: |
[Halevt-dev] Bashism in hvmount |
Date: |
Sun, 04 Jul 2010 14:19:49 -0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Hi,
This patch fix smalls bashims in hvmount.
Talau
Description: Fix bashims
Author: Marcos Talau <address@hidden>
Index: halevt-0.1.6.2/scripts/hvmount.in
===================================================================
--- halevt-0.1.6.2.orig/scripts/hvmount.in
+++ halevt-0.1.6.2/scripts/hvmount.in
@@ -73,7 +73,7 @@
command='umount'
else
command=$1
- shift
+ [ $# -gt 0 ] && shift
fi
@@ -467,7 +467,7 @@
exit 1
fi
-) 200>"$lockfile"
+) 2>"$lockfile"
# is it really safe?
rm $lockfile
pgpLDEJy9szr_.pgp
Description: PGP signature
- [Halevt-dev] Bashism in hvmount,
Marcos Talau <=