about summary refs log tree commit diff
path: root/tvix/nar-bridge
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/nar-bridge')
-rw-r--r--tvix/nar-bridge/cmd/nar-bridge-http/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/nar-bridge/cmd/nar-bridge-http/main.go b/tvix/nar-bridge/cmd/nar-bridge-http/main.go
index 39892d37feac..40357e68e864 100644
--- a/tvix/nar-bridge/cmd/nar-bridge-http/main.go
+++ b/tvix/nar-bridge/cmd/nar-bridge-http/main.go
@@ -68,7 +68,7 @@ func main() {
 	timeoutCtx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
 	defer cancel()
 
-	if s.Shutdown(timeoutCtx); err != nil {
+	if err := s.Shutdown(timeoutCtx); err != nil {
 		log.WithError(err).Warn("failed to shutdown")
 		os.Exit(1)
 	}