Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/scripts/log-command
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/log-command')
-rw-r--r--scripts/log-command5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/log-command b/scripts/log-command
new file mode 100644
index 0000000..881513f
--- /dev/null
+++ b/scripts/log-command
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+exec $1 | tee $2
+
+exit ${PIPESTATUS[0]}