Commit 2783ab87 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

Agent

parent 2fe518fa
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -41,8 +41,7 @@ _graceful_shutdown(){

    echo "Could not send shutdown command to guest, error: $RESPONSE"

    FILE="${IMG}/agent.ver"
    [ ! -f "$FILE" ] && FILE="${IMG}"/"${BASE}".agent
    FILE="${IMG}/${BASE}.agent"
    [ ! -f "$FILE" ] && echo "1" > "$FILE"
    AGENT_VERSION=$(cat "${FILE}")