diff --git a/xwords4/linux/scripts/newrelay.sh b/xwords4/linux/scripts/newrelay.sh index a4455e60a..5ee568d6e 100755 --- a/xwords4/linux/scripts/newrelay.sh +++ b/xwords4/linux/scripts/newrelay.sh @@ -11,6 +11,7 @@ PORT=${PORT:-10997} [ $USE_GTK = FALSE ] && CURSES_PARM="-u -0" LOGDIR=$(basename $0)_logs +[ -d $LOGDIR ] && mv $LOGDIR /tmp/${LOGDIR}_$$ mkdir -p $LOGDIR usage() {