summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-03-11 10:33:26 +0000
committerMike Frysinger <vapier@gentoo.org>2006-03-11 10:33:26 +0000
commit83c5dbc1463c6bdafef9b5bce6a246e4d32a45a6 (patch)
tree2873572c01965bb02ba640e14be7c22b82ae1f4f
parent99e31dde189efc3151b99830bc21fcaed6b82d33 (diff)
downloadportage-83c5dbc1463c6bdafef9b5bce6a246e4d32a45a6.tar.gz
portage-83c5dbc1463c6bdafef9b5bce6a246e4d32a45a6.tar.bz2
portage-83c5dbc1463c6bdafef9b5bce6a246e4d32a45a6.zip
dont reset spinner for non-ttys if --quiet is in use
svn path=/main/trunk/; revision=2849
-rwxr-xr-xbin/emerge5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/emerge b/bin/emerge
index 4ffdeb634..83ee205ad 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -411,8 +411,9 @@ if ("--resume" in myopts):
if ("--nocolor" in myopts) and (sys.stdout.isatty()):
nocolor()
-if not sys.stdout.isatty() or ("--nospinner" in myopts):
- update_spinner = update_basic_spinner
+if not ("--quiet" in myopts):
+ if not sys.stdout.isatty() or ("--nospinner" in myopts):
+ update_spinner = update_basic_spinner
CLEAN_DELAY = 5
EMERGE_WARNING_DELAY = 10