mirror of
https://gitlab.com/shorewall/code.git
synced 2025-04-12 05:18:53 +02:00
Stupid error in placement of time check
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4474 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
b8a9da7e4b
commit
a8be4a0b55
@ -97,14 +97,16 @@ DIR=/etc/shorewall
|
||||
SW_PATH=/sbin/shorewall
|
||||
|
||||
PATH=$PATH:
|
||||
|
||||
if [ "$TIME" -gt 0 ]; then
|
||||
TIME="time"
|
||||
else
|
||||
TIME=""
|
||||
fi
|
||||
|
||||
for HOST; do
|
||||
shoregen $HOST
|
||||
rsync $RSYNC_ARGS SPOOL/$HOST/ $USER@$HOST:$DIR/
|
||||
if [ "$TIME" -gt 0 ]; then
|
||||
TIME=time
|
||||
else
|
||||
TIME=""
|
||||
fi
|
||||
if [ "$CHECK" -gt 0 ]; then
|
||||
$TIME ssh -l $USER -t $HOST $SW_PATH check
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user