Skip to content
Snippets Groups Projects
Commit 4819b9a0 authored by mattijs's avatar mattijs
Browse files

ENH: wmakeScheduler: detect tty

parent 93fa2893
Branches
Tags
No related merge requests found
...@@ -151,7 +151,8 @@ set -o pipefail ...@@ -151,7 +151,8 @@ set -o pipefail
# #
colourPipe() colourPipe()
{ {
if [ "$1" ]
if tty -s <&1 # [ "$1" ]
then then
( (
while read line while read line
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment