From 43234590586318139ddddf74dbda783f9b1a40bd Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Fri, 26 Feb 2010 10:40:21 -0600 Subject: [PATCH] usr/bin/byobu-config: fix logic auto-launch detection logic, LP: #528545 --- debian/changelog | 2 +- usr/bin/byobu-config | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 75cfb89b..03373bfe 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,6 @@ byobu (2.59) unreleased; urgency=low - * UNRELEASED + * usr/bin/byobu-config: fix logic auto-launch detection logic, LP: #528545 -- Dustin Kirkland Tue, 16 Feb 2010 23:16:33 -0600 diff --git a/usr/bin/byobu-config b/usr/bin/byobu-config index d8859d39..46bfaa03 100755 --- a/usr/bin/byobu-config +++ b/usr/bin/byobu-config @@ -495,7 +495,7 @@ def chgesc(screen, size): def autolaunch(): if os.path.exists("%s/.%s/disable-autolaunch" % (HOME, PKG)): return 0 - if commands.getstatusoutput('grep -qs byobu-launcher %s/.profile' % HOME): + if commands.getstatusoutput('grep -qs byobu-launcher %s/.profile' % HOME)[0] == 0: return 1 if os.path.exists("/etc/profile.d/Z98-%s.sh" % PKG): return 1