Sophie

Sophie

distrib > Mageia > 8 > x86_64 > by-pkgid > 9f2dc8ff937d1159ab1bd9ba2c84cea7 > files > 1

e2fsprogs-1.45.6-6.mga8.src.rpm

Index: e2fsprogs-1.45.6/scrub/e2scrub.in
===================================================================
--- e2fsprogs-1.45.6.orig/scrub/e2scrub.in
+++ e2fsprogs-1.45.6/scrub/e2scrub.in
@@ -23,7 +23,7 @@
 # check filesystems in VGs that have at least 256MB (or so) of
 # free space.
 
-PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+PATH=/sbin:/bin:/usr/sbin:/usr/bin:$PATH
 
 if (( $EUID != 0 )); then
     echo "e2scrub must be run as root"
Index: e2fsprogs-1.45.6/scrub/e2scrub_all.in
===================================================================
--- e2fsprogs-1.45.6.orig/scrub/e2scrub_all.in
+++ e2fsprogs-1.45.6/scrub/e2scrub_all.in
@@ -18,7 +18,7 @@
 #  along with this program; if not, write the Free Software Foundation,
 #  Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301, USA.
 
-PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+PATH=/sbin:/bin:/usr/sbin:/usr/bin:$PATH
 
 if (( $EUID != 0 )); then
     echo "e2scrub_all must be run as root"