aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xthreadcat-write.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/threadcat-write.sh b/threadcat-write.sh
index f0cc842..c1e4aa4 100755
--- a/threadcat-write.sh
+++ b/threadcat-write.sh
@@ -15,7 +15,7 @@ fi
if [ ! -z "${THREAD_NAME}" ]; then
- cat - | ssh $THREADCAT_USER "umask 002 && mkdir -p $THREAD_BOARD_PATH && echo >> $THREAD_PATH && echo '===> $THREADCAT_USER -- `date` <===' >> $THREAD_PATH && cat - >> $THREAD_PATH"
+ cat - | ssh $THREADCAT_USER "umask 002 && mkdir -p $THREAD_BOARD_PATH && touch $THREAD_BOARD_PATH && echo >> $THREAD_PATH && echo '===> $THREADCAT_USER -- `date` <===' >> $THREAD_PATH && cat - >> $THREAD_PATH"
echo "Posted to $BOARD_NAME/$THREAD_NAME"
else
echo You did not provide a thread name.