freebsd-ports/sysutils/cbsd/files/patch-jailctl_bset
Steve Wills 020c0fb88a sysutils/cbsd: fix bset command in CBSD 12.1.1
PR:		240653
Submitted by:	olevole@olevole.ru (maintainer)
2019-09-23 21:19:52 +00:00

11 lines
395 B
Text

--- jailctl/bset.orig 2019-09-13 19:50:55 UTC
+++ jailctl/bset
@@ -121,7 +121,7 @@ update_jails()
fi
;;
*)
- cbsdsqlrw ${jailsysdir}/${jname}/local.sqlite UPDATE settings SET ${i}="${VAL}"
+ cbsdsqlrw ${jailsysdir}/${jname}/local.sqlite UPDATE settings SET ${i}=\"${VAL}\"
# back compatible
cbsdsqlrw local UPDATE bhyve SET ${i}=\"${VAL}\" WHERE jname=\"${jname}\"
;;