kexec: fix shellcheck issues (#340487)

This commit is contained in:
Artturin 2024-09-09 23:38:36 +03:00 committed by GitHub
commit 833c74afa4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,7 +25,7 @@
exit 1
fi
echo "Loading NixOS system via kexec."
exec kexec --load $p/kernel --initrd=$p/initrd --append="$(cat $p/kernel-params) init=$p/init"
exec kexec --load "$p/kernel" --initrd="$p/initrd" --append="$(cat "$p/kernel-params") init=$p/init"
'';
};
};