Unverified Commit add19cd4 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

Agent

parent 96cf6912
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -42,9 +42,8 @@ _graceful_shutdown(){

    # If we cannot shutdown the usual way, fallback to the NMI method

    AGENT_VERSION=1
    AGENT="${STORAGE}/${BASE}.agent"
    [ -f "$AGENT" ] && AGENT_VERSION=$(cat "${AGENT}")
    [ -f "$AGENT" ] && AGENT_VERSION=$(cat "${AGENT}") || AGENT_VERSION=1

    if ((AGENT_VERSION < 2)); then