Changeset 60204fe


Ignore:
Timestamp:
May 31, 2011 6:50:54 PM (9 years ago)
Author:
kytv <kytv@…>
Branches:
master
Children:
455b552
Parents:
45064ec
Message:

Debian: initscript: Don't spew warnings when chown'ing files that don't yet exist

File:
1 edited

Legend:

Unmodified
Added
Removed
  • debian/i2p.init

    r45064ec r60204fe  
    7979        [ -r $JVMPIDFILE ] || touch $JVMPIDFILE
    8080        [ -d $I2PTEMP ] || mkdir $I2PTEMP
    81         chown -Rf $I2PUSER:$I2PUSER  $I2PTEMP/*i2p* $I2PTEMP/router.ping $RUN > /dev/null
     81        chown -Rf $I2PUSER:$I2PUSER  $I2PTEMP/*i2p* $I2PTEMP/router.ping $RUN > /dev/null 2>&1
    8282        chown -f -R $I2PUSER:adm /var/log/$NAME
    8383        TZ=UTC start-stop-daemon --start --quiet -c $I2PUSER --pidfile $PIDFILE --exec $DAEMON $NICE -- \
Note: See TracChangeset for help on using the changeset viewer.