Skip to content

Commit

Permalink
Add PID to log filename
Browse files Browse the repository at this point in the history
  • Loading branch information
Georgi Valkov authored and lamw committed Dec 15, 2012
1 parent deb3dfd commit d14df1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ghettoVCB.sh
Expand Up @@ -188,7 +188,7 @@ sanityCheck() {

#if no logfile then provide default logfile in /tmp
if [[ -z "${LOG_OUTPUT}" ]] ; then
LOG_OUTPUT="/tmp/ghettoVCB-$(date +%F_%H-%M-%S).log"
LOG_OUTPUT="/tmp/ghettoVCB-$(date +%F_%H-%M-%S)-$$.log"
echo "Logging output to \"${LOG_OUTPUT}\" ..."
fi

Expand Down

0 comments on commit d14df1e

Please sign in to comment.