diff options
author | Gustavo De Nardin <spuk@mandriva.org> | 2009-08-06 08:01:01 +0000 |
---|---|---|
committer | Gustavo De Nardin <spuk@mandriva.org> | 2009-08-06 08:01:01 +0000 |
commit | f6a182822d3f9711b3dd53ea13b03d9a21fbc631 (patch) | |
tree | 1a697c79d61acf654597cf816ccf7efe823d792f /iurt2.sh | |
parent | 098dd6589b485ea0b6fe329b9b802a30d866cc0e (diff) | |
download | iurt-f6a182822d3f9711b3dd53ea13b03d9a21fbc631.tar iurt-f6a182822d3f9711b3dd53ea13b03d9a21fbc631.tar.gz iurt-f6a182822d3f9711b3dd53ea13b03d9a21fbc631.tar.bz2 iurt-f6a182822d3f9711b3dd53ea13b03d9a21fbc631.tar.xz iurt-f6a182822d3f9711b3dd53ea13b03d9a21fbc631.zip |
Workaround failure to create the log file.
Diffstat (limited to 'iurt2.sh')
-rwxr-xr-x | iurt2.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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" |