mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-26 08:20:18 +00:00
tools/run_guest_kernel.sh: Support --
Signed-off-by: Asahi Lina <lina@asahilina.net>
This commit is contained in:
parent
d6d72b6398
commit
3e36d18241
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue