diff --git a/step05/my_daemon b/step05/my_daemon index e5ce788..4f3afdd 100755 --- a/step05/my_daemon +++ b/step05/my_daemon @@ -7,7 +7,7 @@ if [ -z "$INTERVAL" ]; then fi # メインループ -while [ ture ]; +while true; do TM=`date|awk '{print $4}'` printf "%s : %s \n" $TM $COUNT diff --git a/step05/my_daemon2 b/step05/my_daemon2 index aca20e5..ae85cc6 100755 --- a/step05/my_daemon2 +++ b/step05/my_daemon2 @@ -21,7 +21,7 @@ trap save TERM # メインループ -while [ ture ]; +while true; do TM=`date|awk '{print $4}'` printf "%s : %s \n" $TM $COUNT diff --git a/step05/my_daemon3 b/step05/my_daemon3 index a033f19..f16fa5b 100644 --- a/step05/my_daemon3 +++ b/step05/my_daemon3 @@ -24,7 +24,7 @@ trap save TERM # メインループ -while [ ture ]; +while true; do TM=`date|awk '{print $4}'` printf "%s : %s \n" $TM $COUNT