diff options
-rwxr-xr-x | acid/acid | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -45,14 +45,13 @@ update() { forceopt="--force-self" selfopt="--self" - [ -z "$1" ] && reason="event" || reason="maint" - for line in "${CYCHE_SERVICES[@]}"; do read -r -a arr <<< "$line" hash=$(acid-source ${arr[@]:0:3} 2>"$CYCHE_TMP_LOG") res=$? if [ $res -ne 0 ] || [ "$1" == "$forceopt" ]; then + [ $res -eq 1 ] && reason="event" || reason="maint" job=$(make_log "$hash" "$reason" "${arr[0]}") logdir="$CYCHE_LOG_DIR/$job" log="$logdir/log" |