diff --git a/proxyclient/tools/run_guest_kernel.sh b/proxyclient/tools/run_guest_kernel.sh index dd3920e9..849f67a4 100755 --- a/proxyclient/tools/run_guest_kernel.sh +++ b/proxyclient/tools/run_guest_kernel.sh @@ -20,7 +20,9 @@ args="$2" initramfs="" shift 2 -if [ -n "$1" ]; then +if [ "$1" == "--" ]; then + shift +elif [ -n "$1" ]; then initramfs="$(realpath "$1")" shift fi