aboutsummaryrefslogtreecommitdiffstats
path: root/iurt2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'iurt2.sh')
-rwxr-xr-xiurt2.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/iurt2.sh b/iurt2.sh
index 0712755..f333bb3 100755
--- a/iurt2.sh
+++ b/iurt2.sh
@@ -5,6 +5,8 @@ case "$1" in
*) LOGFILE="/dev/null" ;;
esac
+touch "$LOGFILE" &>/dev/null || LOGFILE="/dev/null"
+
echo PID=$$
exec perl -I/usr/local/lib/perl/iurt/lib /usr/local/bin/iurt2 "$@" &>"$LOGFILE"