s4

changeset 643:1fa8d503ea2b

Refer exit code
author HIROSE Yuuji <yuuji@gentei.org>
date Mon, 04 May 2020 14:42:09 +0900
parents 209d74364eca
children 50b3ceca8bf7
files s4-blog.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/s4-blog.sh	Mon May 04 11:12:30 2020 +0900
     1.2 +++ b/s4-blog.sh	Mon May 04 14:42:09 2020 +0900
     1.3 @@ -345,7 +345,7 @@
     1.4       a_s s
     1.5    ON a.id=s.id;
     1.6  EOF
     1.7 -  if [ ! -s $midfile ]; then
     1.8 +  if [ $? -ne 0 -a ! -s $midfile ]; then
     1.9      echo "時間をおいてください(Visit later please)." | html p
    1.10      return
    1.11    fi