[lvm-devel] [PATCH v3 08/18] fsadm: Remove unnecessary modification of PATH variable
Lukas Czerner
lczerner at redhat.com
Tue Oct 4 08:17:01 UTC 2011
On Tue, 4 Oct 2011, Zdenek Kabelac wrote:
> Dne 27.9.2011 15:42, Lukas Czerner napsal(a):
> > 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 at redhat.com>
> > ---
> > scripts/fsadm.sh | 3 ---
> > 1 files changed, 0 insertions(+), 3 deletions(-)
> >
> > diff --git a/scripts/fsadm.sh b/scripts/fsadm.sh
> > index 2d5c6f9..a1044f7 100755
> > --- a/scripts/fsadm.sh
> > +++ b/scripts/fsadm.sh
> > @@ -37,9 +37,6 @@
> >
> > TOOL=$(basename "$0")
> >
> > -_SAVEPATH=$PATH
> > -PATH=/sbin:/usr/sbin:/bin:/usr/sbin:$PATH
> > -
> > # utilities
> > TUNE_EXT=tune2fs
> > RESIZE_EXT=resize2fs
>
>
> Move this patch out of the future set - it's for separate discussion.
>
> Zdenek
So let the separate discussion begin!
-Lukas
More information about the lvm-devel
mailing list