[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-lvm
Subject: [linux-lvm] [PATCH 24/35] fsadm: Remove unnecessary modification of
From: Lukas Czerner <lczerner () redhat ! com>
Date: 2011-09-21 16:45:43
Message-ID: 1316623554-28975-25-git-send-email-lczerner () redhat ! com
[Download RAW message or body]
User (or the system) should be set properly so there is no need to
modify PATH variable. It also prevent us from setting appropriate PATH
before calling the fsadm.
Signed-off-by: Lukas Czerner <lczerner@redhat.com>
---
scripts/fsadm.sh | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/scripts/fsadm.sh b/scripts/fsadm.sh
index 3a00063..55b4688 100755
--- a/scripts/fsadm.sh
+++ b/scripts/fsadm.sh
@@ -32,9 +32,6 @@
TOOL=$(basename $0)
-_SAVEPATH=$PATH
-PATH=/sbin:/usr/sbin:/bin:/usr/sbin:$PATH
-
# utilities
TUNE_EXT=tune2fs
RESIZE_EXT=resize2fs
--
1.7.4.4
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic