aboutsummaryrefslogtreecommitdiffstats
path: root/etc/init.d
diff options
context:
space:
mode:
authorGunnar Beutner <[email protected]>2011-07-03 02:38:50 +0200
committerBrian Behlendorf <[email protected]>2011-07-05 11:25:48 -0700
commitc8082367cfe9954f0e932fb1513b518d8b84022d (patch)
treeba1680a40177779ba0ebe9013b5c0e206eb6ec15 /etc/init.d
parent0f4524cca43b1718d54970fcaf0201541733903c (diff)
Removed erroneous backticks in the zfs.lunar init script.
The backticks would cause the output of the zfs commands to be evaluated as input for the if construct rather than their exit status. Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'etc/init.d')
-rw-r--r--etc/init.d/zfs.lunar4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/init.d/zfs.lunar b/etc/init.d/zfs.lunar
index a6ec5c4dd..c77b2b780 100644
--- a/etc/init.d/zfs.lunar
+++ b/etc/init.d/zfs.lunar
@@ -35,7 +35,7 @@ case $1 in
while IFS= read -r -d $'\n' dev; do
mdev=$(echo "$dev" | awk '{ print $1; }')
echo -n "mounting $mdev..."
- if `zfs mount $mdev`; then
+ if zfs mount $mdev; then
echo -e "done";
else
echo -e "failed";
@@ -52,7 +52,7 @@ case $1 in
while IFS= read -r -d $'\n' dev; do
mdev=$(echo "$dev" | awk '{ print $1 }');
echo -n "umounting $mdev...";
- if `zfs umount $mdev`; then
+ if zfs umount $mdev; then
echo -e "done";
else
echo -e "failed";