summaryrefslogtreecommitdiffstats
path: root/log-stderr
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-10-27 11:02:46 +0200
committerFlorian Pritz <bluewind@xinu.at>2018-10-27 11:02:46 +0200
commit37de71d510adc3a3210b04c8b9c9630fe0467f68 (patch)
treeb4fa657b84a9b830f66c5c7a610309080a4562c7 /log-stderr
parentb028ae3aa8aebbe5c4929704fd17341f22644bec (diff)
downloadbin-37de71d510adc3a3210b04c8b9c9630fe0467f68.tar.gz
bin-37de71d510adc3a3210b04c8b9c9630fe0467f68.tar.xz
Add new scripts
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'log-stderr')
-rwxr-xr-xlog-stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/log-stderr b/log-stderr
new file mode 100755
index 0000000..f1fd0c5
--- /dev/null
+++ b/log-stderr
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+exec 2> >(systemd-cat)
+
+exec "$@"