mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2026-11-11 16:49:30 +01:00
Agent
This commit is contained in:
1 parent
2fe518faf0
commit
2783ab874d
1 file changed
+1
-2
@@ -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}")
|
||||
|
||||
|
||||
Reference in new issue
Block a user