Skip to content

Commit 272cd49

Browse files
committed
Return something before rebooting after an update
1 parent d710b2d commit 272cd49

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

update.go

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ func updateHandler(c *gin.Context) {
5252
return
5353
}
5454

55+
c.JSON(200, gin.H{"success": "Please wait a moment while the agent reboots itself"})
5556
path, _ := osext.Executable()
5657
restart(path)
5758
}

0 commit comments

Comments
 (0)