projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update version to 0.16
[ust.git]
/
usttrace
diff --git
a/usttrace
b/usttrace
index e76dae71be1f6590e1ea487bde1ba3c4921ddea3..d1a6e5fef71b1c3ee6db7c609557e8ae640a83ae 100755
(executable)
--- a/
usttrace
+++ b/
usttrace
@@
-85,16
+85,13
@@
if [ -n "$where" ]; then
exit 0
fi
exit 0
fi
-# Prepare vars
-CMD=$*
-
# Validate input
if [ -z "$HOME" ];
then
error "no home specified"
fi
# Validate input
if [ -z "$HOME" ];
then
error "no home specified"
fi
-if [ -z "$
CMD
" ];
+if [ -z "$
*
" ];
then
error "no command specified"
usage;
then
error "no command specified"
usage;
@@
-196,7
+193,7
@@
fi
fi
# Execute the command
fi
# Execute the command
-
$CMD
2>&1
+
"$@"
2>&1
) | tee "$OUTDIR/app.log"
## Because of the keepalive mechanism, we're sure that by the time
) | tee "$OUTDIR/app.log"
## Because of the keepalive mechanism, we're sure that by the time
This page took
0.023122 seconds
and
4
git commands to generate.