[arch-projects] [initscripts] [PATCH 2/3] rc.sysinit: fixup fsck refactoring

Kurt J. Bosch kjb-temp-2009 at alpenjodel.de
Mon Jul 11 11:34:41 EDT 2011


Revert to using in_array() instead of is_in_array() which actually doesn't exist.
---
 rc.sysinit |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/rc.sysinit b/rc.sysinit
index 7357582..bfaaf1b 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -174,7 +174,7 @@ if [[ -f /etc/crypttab && $CS ]] && grep -q ^[^#] /etc/crypttab; then
 fi
 
 # Check filesystems
-[[ -f /forcefsck ]] || is_in_array forcefsck $(< /proc/cmdline) && FORCEFSCK="-- -f"
+[[ -f /forcefsck ]] || in_array forcefsck $(< /proc/cmdline) && FORCEFSCK="-- -f"
 declare -r FORCEFSCK
 run_hook sysinit_prefsck
 if [[ -x $(type -P fsck) ]]; then
-- 
1.7.1



More information about the arch-projects mailing list