]> git.tue.mpg.de Git - gsu.git/commitdiff
subcommand: Fix -e of com_prefs().
authorAndre Noll <maan@tuebingen.mpg.de>
Thu, 22 Sep 2022 21:01:18 +0000 (23:01 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Thu, 22 Sep 2022 21:01:18 +0000 (23:01 +0200)
The config variable may consist of more than one path, and we want
to pass each as a separate argument to the editor.

subcommand

index 6cb53d5010c96227c805c607fc5859a1bcbee62a..e544ab0252cc0b96eecefc7f489ed0d9892cb468 100644 (file)
@@ -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