diff --git a/update.go b/update.go index b662e7cc5..25fcdbea4 100644 --- a/update.go +++ b/update.go @@ -60,5 +60,5 @@ func updateHandler(c *gin.Context) { } c.JSON(200, gin.H{"success": "Please wait a moment while the agent reboots itself"}) - restart(path) + go restart(path) }