mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
bsdinstall: Add quotes around error message argument
When error is called with a message with spaces (and probably multiple lines) these are passed into dialog unquoted and an error message was presented, wrap with quotes. Reviewed by: bapt, allanjude Sponsored by: Ampere Computing LLC Sponsored by: Klara Inc. Differential Revision: https://reviews.freebsd.org/D33918
This commit is contained in:
parent
6fd84a627f
commit
f0ec0fda01
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
error()
|
||||
{
|
||||
dialog --backtitle "FreeBSD Installer" --title "Error" --msgbox $1 0 0
|
||||
dialog --backtitle "FreeBSD Installer" --title "Error" --msgbox "$1" 0 0
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue