Control: tags -1 patch

The patch can solve the issue by redirecting real stderr to /dev/null
before redirecting stdout to stderr.

-- 
ChangZhuo Chen (陳昌倬) <[email protected]>
http://czchen.info/
Key fingerprint = EC9F 905D 866D BE46 A896  C827 BE0C 9242 03F4 552D
diff --git a/share/im-config.common b/share/im-config.common
index 5e9fcc2..7264cf3 100644
--- a/share/im-config.common
+++ b/share/im-config.common
@@ -202,6 +202,6 @@ menulist_eval () {
         eval "$1"
     else
         # GTK GUI
-        eval "$1" 1>&2
+        eval "$1" 3>&2 2>/dev/null 1>&3
     fi
 }

Attachment: signature.asc
Description: Digital signature

Reply via email to