commit e19cb50
chld
·
2026-06-12 05:00:57 +0000 UTC
parent 42055ad
fix
1 files changed,
+1,
-1
+1,
-1
1@@ -4,7 +4,7 @@ blog=0
2 [ -z $m ] && m=index.html
3 [ -z $c ] && c=contents.html
4
5-grep '<!-- THISISABLOG -->' $m && blog=1
6+[ ! $(grep '<!-- THISISABLOG -->' $m) = "" ] && blog=1
7
8 echo > $m # restart
9