From 2a9976ed46e14c92f06bea4e12e2d98d57f07bc2 Mon Sep 17 00:00:00 2001 From: Marc Liyanage Date: Wed, 19 Mar 2014 14:02:18 -0700 Subject: [PATCH] Shorten sudo message --- dmgtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmgtool.py b/dmgtool.py index 837c103..e3aebb7 100755 --- a/dmgtool.py +++ b/dmgtool.py @@ -293,7 +293,7 @@ def run(self): @classmethod def ensure_superuser(cls): if os.getuid() != 0: - print >> sys.stderr, 'Relaunching with sudo for superuser access' + print >> sys.stderr, 'Relaunching with sudo' os.execv('/usr/bin/sudo', ['/usr/bin/sudo', '-E'] + sys.argv) @classmethod