projects
/
openwrt
/
staging
/
yousong.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
block-mount: fsck.sh should only call pi_include() if dir /lib/functions/fsck exists.
[openwrt/staging/yousong.git]
/
package
/
block-mount
/
files
/
fsck.sh
diff --git
a/package/block-mount/files/fsck.sh
b/package/block-mount/files/fsck.sh
index 3011160a44568305d2e4f69e5e705f716bc2d0ae..9cba01dafb0856abbb48c0f0cd1acdee600b7a4e 100644
(file)
--- a/
package/block-mount/files/fsck.sh
+++ b/
package/block-mount/files/fsck.sh
@@
-30,5
+30,5
@@
libmount_fsck() {
libmount_known_fsck=""
-pi_include /lib/functions/fsck
+
[ -d /lib/functions/fsck ] &&
pi_include /lib/functions/fsck