Ignore:
Timestamp:
11/11/2009 14:24:40 (3 years ago)
Author:
ccowart
Message:

Merging support for the -q flag on confsync.

Resolves #71

Location:
branches/confman-1.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/confman-1.9

    • Property svn:mergeinfo changed
      /trunkmerged: 471
  • branches/confman-1.9/confsync.in

    r483 r486  
    4545 
    4646FORCE=false 
     47QUIET=false 
    4748sleep_mode=false 
    48 while getopts "fsdh" OPT 2>&4 ; do 
     49 
     50while getopts "fqsdh" OPT 2>&4 ; do 
    4951    case $OPT in 
    5052        f)  FORCE=true ;; 
    5153        s)  sleep_mode=true ;; 
    5254        d)  DEBUG=true ;; 
     55        q)  QUIET=true ;; 
    5356        h)  print_help 0;; 
    5457        *)  print_help 1;; 
     
    128131        conf_cleanExit 1 
    129132    elif ! $FORCE && [ $tar_revision -le $sys_revision ] ; then 
    130         echo "System is up to date." | conf_logger 
     133        $QUIET || echo "System is up to date." | conf_logger 
    131134        conf_cleanExit 0 
    132135    fi 
Note: See TracChangeset for help on using the changeset viewer.