Fixed execute problems with su-to-root
This commit is contained in:
parent
2d52a82a69
commit
a000ed1a2a
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
|||||||
|
mintmenu (4.9.3) helena; urgency=low
|
||||||
|
|
||||||
|
* Fixed: https://bugs.launchpad.net/linuxmint/+bug/496730
|
||||||
|
|
||||||
|
-- Clement Lefebvre <root@linuxmint.com> Tue, 15 Dec 2009 11:27:00 +0000
|
||||||
|
|
||||||
mintmenu (4.9.2) helena; urgency=low
|
mintmenu (4.9.2) helena; urgency=low
|
||||||
|
|
||||||
* Fixed: https://bugs.launchpad.net/mintmenu/+bug/490174
|
* Fixed: https://bugs.launchpad.net/mintmenu/+bug/490174
|
||||||
|
@ -16,7 +16,7 @@ def RemoveArgs(Execline):
|
|||||||
# Actually execute the command
|
# Actually execute the command
|
||||||
def Execute( cmd ):
|
def Execute( cmd ):
|
||||||
if isinstance( cmd, str ):
|
if isinstance( cmd, str ):
|
||||||
if (cmd.find("/home/") >= 0):
|
if (cmd.find("/home/") >= 0) or (cmd.find("su-to-root") >= 0) :
|
||||||
print "running manually..."
|
print "running manually..."
|
||||||
os.system(cmd + " &")
|
os.system(cmd + " &")
|
||||||
return True
|
return True
|
||||||
|
Loading…
Reference in New Issue
Block a user