From: Andre Noll Date: Thu, 22 Sep 2022 21:01:18 +0000 (+0200) Subject: subcommand: Fix -e of com_prefs(). X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=4047e938ebff10557898cb43148e70ce9414c324;p=gsu.git subcommand: Fix -e of com_prefs(). The config variable may consist of more than one path, and we want to pass each as a separate argument to the editor. --- diff --git a/subcommand b/subcommand index 6cb53d5..e544ab0 100644 --- a/subcommand +++ b/subcommand @@ -238,7 +238,7 @@ com_prefs() (($? != 0)) && return ret=-$E_GSU_EDITOR result="${EDITOR:-vi}" - "$result" "$conf" + "$result" $conf (($? != 0)) && return ret=$GSU_SUCCESS return