Ignore:
Timestamp:
Mar 17, 2016, 6:16:40 PM (9 years ago)
Author:
alloc
Message:

v96

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/usr/local/lib/7dtd/commands/stop.sh

    r258 r259  
    4242        res=$(isRunning $1)
    4343        if [ $res -eq 1 ]; then
    44                 for H in $(getHooksFor serverPreStop); do
     44                for H in $(getHooksFor serverPreStop $1); do
    4545                        $H $1
    4646                done
     
    6868                rm $(getInstancePath $1)/7dtd.pid
    6969
    70                 for H in $(getHooksFor serverPostStop); do
     70                for H in $(getHooksFor serverPostStop $1); do
    7171                        $H $1
    7272                done
Note: See TracChangeset for help on using the changeset viewer.