All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix xfs_admin command PATH
@ 2006-09-28  0:53 Nathan Scott
  0 siblings, 0 replies; only message in thread
From: Nathan Scott @ 2006-09-28  0:53 UTC (permalink / raw)
  To: xfs

[-- Attachment #1: Type: text/plain, Size: 255 bytes --]

Hi,

I noticed an error labelling a filesystem on Fedora the other day,
this should fix it.  Possibly other scripts are affected, dunno -
the problem occurs when /usr/sbin is not in the PATH (it typically
happens after a su to root).

cheers.

--
Nathan


[-- Attachment #2: admin.patch --]
[-- Type: text/x-patch, Size: 304 bytes --]

--- /fedora/usr/sbin/xfs_admin.orig	2006-09-26 16:01:10.000000000 +1000
+++ /fedora/usr/sbin/xfs_admin	2006-09-26 16:01:47.000000000 +1000
@@ -33,6 +33,7 @@
 
 OPTS=""
 USAGE="Usage: xfs_admin [-efluV] [-L label] [-U uuid] special"
+export PATH="/sbin:/usr/sbin:$PATH"
 
 while getopts "efluL:U:V" c
 do

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-28  2:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-28  0:53 [PATCH] fix xfs_admin command PATH Nathan Scott

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.