From 329c8e64bd4610f06493b8ec6193449505773c78 Mon Sep 17 00:00:00 2001 From: "Christopher R. Nelson" Date: Thu, 25 Jan 2024 22:28:42 -0500 Subject: fix: prevent duplicate running of 'main' when we switched to the new shebang format to keep GNU Guix happy, we didn't remove the run main command from the end of the script. this caused the main loop to be executed both when the interpreter decided what to do, and when the file was evaluated. --- scripts/rh-client.in | 2 -- 1 file changed, 2 deletions(-) (limited to 'scripts/rh-client.in') diff --git a/scripts/rh-client.in b/scripts/rh-client.in index 8c96acb..5728813 100755 --- a/scripts/rh-client.in +++ b/scripts/rh-client.in @@ -135,5 +135,3 @@ (client-setup (option-ref options 'service-socket)) (rh-client-shutdown)) (#t (emit-help options))))) - -(main (command-line)) -- cgit v1.2.3