diff options
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/status.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/status.sh b/examples/status.sh index 94e8fe7..151728b 100755 --- a/examples/status.sh +++ b/examples/status.sh @@ -51,4 +51,6 @@ function percentBar () { echo "$res</fc>" } +[[ -p $STATUSPIPE ]] || mkfifo $STATUSPIPE + echo "$( percentBar )" > "$STATUSPIPE" |