Skip to content

Commit

Permalink
Fixing an issue the linter is complaining about with echo
Browse files Browse the repository at this point in the history
The linter recommends to use printf, but I think doubling the echo here is fine.
  • Loading branch information
arthurwolf authored Nov 18, 2022
1 parent becb991 commit 927806b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion kvmhelpers/start_kvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,15 @@ fi
sleep 5

# Actually launch qemu-kvm.

# Create the qemu-kvm command
COMMAND="/usr/bin/kvm -m $MEM -boot $DRIVE -drive file=$DISK,index=0,media=disk,format=raw -drive file=$CDROM,index=1,media=cdrom -rtc base=utc $NETWORK $PROCESSORS $CURSES $NOREBOOT"
echo "executing:\n$COMMAND"

# Display the qemu-kvm command
echo "executing:"
echo "$COMMAND"

# Execute the qemu-kvm command
$COMMAND

# VM has shut down, remove all of the taps.
Expand Down

0 comments on commit 927806b

Please sign in to comment.