37: fix maybesudo quotation r=Mic92 a=phaer



Co-authored-by: phaer <hello@phaer.org>
This commit is contained in:
bors[bot] 2023-01-16 09:36:44 +00:00 committed by GitHub
commit 35db719ca0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -207,8 +207,8 @@ fi
if [[ ${is_kexec-n} == "n" ]]; then
ssh_ <<SSH
set -efu ${enable_debug}
"${maybesudo}" rm -rf /root/kexec
"${maybesudo}" mkdir -p /root/kexec
$maybesudo rm -rf /root/kexec
$maybesudo mkdir -p /root/kexec
SSH
if [[ -f $kexec_url ]]; then