lkml.org 
[lkml]   [2015]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 8/24] ver_linux: e2fsprogs.patch
On Sat, Oct 03, 2015 at 04:23:02PM +0300, Alexander Kapshuk wrote:
> 'tune2fs' is located in varying places depending on the distro.
> Current implementation output on distros where 'tune2fs' is found at
> a location that is not available in the PATH for the regular user,
> e.g. '/sbin', will have nothing to display.
> While running 'ver_linux' as user 'root' should be OK.

Instead of making all of these changes, why not just add

PATH=$PATH:/sbin:/usr/sbin:/bin:/usr/bin

to the beginning of ver_linux?

- Ted


\
 
 \ /
  Last update: 2015-10-04 04:21    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog