aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-12-12 21:58:53 +0000
committermerakor <cem@ckyln.com>2021-12-12 21:58:53 +0000
commit51a0ff5d04184a12a216a7d0b3bf05fab63890d0 (patch)
tree223f86d956ad6e515ad1f8268b5f448f9011728d /src
parent56b134697a7d8fdc5e146dc9e544bdd7a8713ba5 (diff)
downloadcpt-51a0ff5d04184a12a216a7d0b3bf05fab63890d0.tar.gz
cpt-install: print messages entirely on stderr
FossilOrigin-Name: 8c725549dac8deea7ef654abdf8b0caf4ed204eb8fd7baa343cdf383ef208a2f
Diffstat (limited to 'src')
-rwxr-xr-xsrc/cpt-install4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpt-install b/src/cpt-install
index af8b7ff..78da9a8 100755
--- a/src/cpt-install
+++ b/src/cpt-install
@@ -36,8 +36,8 @@ for pkg in $order; do
"$(_multiply_char '=' 60)" \
"$pkg" \
"$(_multiply_char '=' 60)"
- cat "$sys_db/$pkg/message" >&2
+ cat "$sys_db/$pkg/message"
msg=1
}
-done
+done >&2
[ "$msg" ] || log "No message in queue"