diff options
| -rwxr-xr-x | setup.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -111,7 +111,7 @@ fi EXTRA_PARAMS=$(tr '\n' ' ' < ./etc/kernel/cmdline | xargs) if [ -n "$EXTRA_PARAMS" ]; then - TARGET_CONTENT=$(cat /etc/kernel/cmdline) + TARGET_CONTENT=$(sudo cat /etc/kernel/cmdline) # Check if the extra parameters are already present to ensure idempotency if [[ "$TARGET_CONTENT" != *"$EXTRA_PARAMS"* ]]; then |
