diff --git a/rpi23-gen-image.sh b/rpi23-gen-image.sh index 4388dd0..1e4703c 100755 --- a/rpi23-gen-image.sh +++ b/rpi23-gen-image.sh @@ -259,7 +259,7 @@ set +x #If init and systemd-sysv are wanted e.g. halt/reboot/shutdown scripts if [ "$ENABLE_SYSVINIT" = false ] ; then -APT_EXCLUDES="${APT_EXCLUDES},init,systemd-sysv" +APT_EXCLUDES="--exclude=${APT_EXCLUDES},init,systemd-sysv" fi # Set Raspberry Pi model specific configuration