don't fail if alternc_reload fails
This commit is contained in:
		
							parent
							
								
									51fb49a25c
								
							
						
					
					
						commit
						22e1b56bf1
					
				| 
						 | 
					@ -242,10 +242,10 @@ IFS="$OLD_IFS"
 | 
				
			||||||
RELOAD_ZONES=`cat "$RELOAD_ZONES_TMP_FILE"`
 | 
					RELOAD_ZONES=`cat "$RELOAD_ZONES_TMP_FILE"`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# we assume we run apache and bind on the master
 | 
					# we assume we run apache and bind on the master
 | 
				
			||||||
alternc_reload $RELOAD_ZONES
 | 
					alternc_reload $RELOAD_ZONES || true
 | 
				
			||||||
for slave in $ALTERNC_SLAVES; do
 | 
					for slave in $ALTERNC_SLAVES; do
 | 
				
			||||||
    if [ "$slave" != "localhost" ]; then
 | 
					    if [ "$slave" != "localhost" ]; then
 | 
				
			||||||
        ssh alternc@$slave alternc_reload "$RELOAD_ZONES"
 | 
					        ssh alternc@$slave alternc_reload "$RELOAD_ZONES" || true
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
done
 | 
					done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue