summaryrefslogtreecommitdiffstats
path: root/log-stderr
diff options
context:
space:
mode:
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 "$@"