Bob Mottram 8 年之前
父節點
當前提交
af472ec7cf
沒有帳戶連結到提交者的電子郵件
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/freedombone-mesh-blog

+ 1
- 1
src/freedombone-mesh-blog 查看文件

39
 function regenerate_blog {
39
 function regenerate_blog {
40
     OLD_STAT_FILE=/home/$USER/.old_stat.txt
40
     OLD_STAT_FILE=/home/$USER/.old_stat.txt
41
     if [ -f $OLD_STAT_FILE ]; then
41
     if [ -f $OLD_STAT_FILE ]; then
42
-        rm $OLD_STAT_FILE
42
+        rm -f $OLD_STAT_FILE
43
     fi
43
     fi
44
 
44
 
45
     cd $BLOG_PATH
45
     cd $BLOG_PATH