From c2d99a2ad3c90aa7fb96ab9da2badf70ff5acc7b Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 5 Apr 2010 18:29:14 +0200 Subject: [PATCH] gsu: Fix quoting for multi-line variables. The new para_adm topics command triggered this bug. --- funcs/gsu | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/funcs/gsu b/funcs/gsu index 7e066f7..ca2016a 100644 --- a/funcs/gsu +++ b/funcs/gsu @@ -331,8 +331,7 @@ _gsu_check_options() return esac - eval ${gsu_config_var_prefix}_$name='"'${val:=$default_value}'"' - + eval ${gsu_config_var_prefix}_$name="\"${val:=$default_value}\"" # Check option type. ATM, only num and string are supported # Other types may be added without breaking compatibility case "$option_type" in -- 2.39.5