Add PATH=/bin:/usr/bin:/sbin:/usr/sbin to fsck.btrfs
[platform/upstream/btrfs-progs.git] / fsck.btrfs
index e1eff2c..3ac7a40 100755 (executable)
@@ -19,6 +19,8 @@
 # filesystem consistency is checked, the repair mode is enabled via --repair
 # option (use with care!).
 
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
+
 AUTO=false
 while getopts ":aApy" c
 do