summaryrefslogblamecommitdiff
path: root/user/xdg-utils/xdg-su-lxqt.patch
blob: dccc4e2140fdb6c7cb27c0c04bbe8670e286e176 (plain) (tree)


























                                                                      
Upstream-Bug: https://bugzilla.suse.com/show_bug.cgi?id=1120397
Upstream-Bug: https://github.com/lxqt/lxqt/issues/1653

From 132cbff34f00f67a83ea58919a982abe600f25c3 Mon Sep 17 00:00:00 2001
From: Fabio Pesari <posta@parallelo.eu>
Date: Sun, 7 Jul 2019 13:08:33 +0000
Subject: [PATCH] xdg-su: Fix escaping for lxqt-sudo

---
 scripts/xdg-su.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/xdg-su.in b/scripts/xdg-su.in
index b7a9865..65463eb 100644
--- a/scripts/xdg-su.in
+++ b/scripts/xdg-su.in
@@ -84,7 +84,7 @@ su_lxqt()
     if [ $? -eq 0 ] ; then
         if [ -z "$user" ] ; then
              # -s option runs as su rather then sudo
-             $LXQTSU -s "$cmd"
+             $LXQTSU -s $cmd
         else
              # lxqt-sudo does not support specifying a user
              su_generic
-- 
2.21.0