Changeset 1225925


Ignore:
Timestamp:
09/19/14 08:01:45 (13 days ago)
Author:
Bjarne Bertilsson <bjarne.bertilsson@…>
Branches:
master
Children:
4eced9b, b4c9a7d
Parents:
9142399
Message:

Fixed variable typo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/lpreserver/backend/zfslistcronscrub.sh

    r9142399 r1225925  
    1919   day_week=`grep "${PROGDIR}/backend/runscrub.sh ${i}" /etc/crontab | awk '{print $5}'` 
    2020   day_month=`grep "${PROGDIR}/backend/runscrub.sh ${i}" /etc/crontab | awk '{print $3}'` 
    21    if [ "$housr" != '*' -a "$day_week" = '*' -a "$day_month" = '*' ] ; then time="daily @ hour $hour" ; fi 
    22    if [ "$day_week" != '*' ] ; then time="weekly @ day $day_week" ; fi 
    23    if [ "$month" != '*' ] ; then time="monthly @ day $day_month @ hour $hour" ; fi 
     21   if [ "$hour" != '*' -a "$day_week" = '*' -a "$day_month" = '*' ] ; then time="daily @ hour $hour" ; fi 
     22   if [ "$day_week" != '*' ] ; then time="weekly @ day $day_week @ hour $hour" ; fi 
     23   if [ "$day_month" != '*' ] ; then time="monthly @ day $day_month @ hour $hour" ; fi 
    2424   echo "$i - $time" 
    2525done 
Note: See TracChangeset for help on using the changeset viewer.