Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/scripts/log-command
blob: a2fc61d62b7bb58e5268086ce8bfbc501ad0022d (plain)
1
2
3
4
5
#!/bin/bash

exec $1 | tee -a $2

exit ${PIPESTATUS[0]}