From 889d63257973ebe96e36cbc275a05bbebaeaee9e Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 20 Jan 2026 15:08:38 +0000 Subject: [PATCH] core200: Fix shell syntax error in update script Reported-by: Adam Gibbons Signed-off-by: Michael Tremer --- config/rootfiles/core/200/update.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/rootfiles/core/200/update.sh b/config/rootfiles/core/200/update.sh index 59993b195..cf5ca344a 100644 --- a/config/rootfiles/core/200/update.sh +++ b/config/rootfiles/core/200/update.sh @@ -72,8 +72,9 @@ if [ $BOOTSIZE -lt 100000 ]; then fi # Check if reiser filesystem is used -if [ `/bin/grep -c "reiserfs" /proc/self/mounts` > 0 ]; then +if grep -q "reiserfs" /proc/self/mounts; then exit_with_error "ERROR cannot update because reiserfs no longer supported by kernel." 4 +fi # Remove the old kernel rm -rvf \ -- 2.47.3