diff options
author | Christopher R. Nelson <christopher.nelson@languidnights.com> | 2024-01-25 22:28:42 -0500 |
---|---|---|
committer | Christopher R. Nelson <christopher.nelson@languidnights.com> | 2024-01-25 22:28:42 -0500 |
commit | 329c8e64bd4610f06493b8ec6193449505773c78 (patch) | |
tree | 6ddd4e0ed223a100a39ca748b15fa06a0a53dd1c /scripts | |
parent | 39bd5394bf91411721bb5e06fdfc04aa20c63542 (diff) |
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.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/rh-client.in | 2 | ||||
-rwxr-xr-x | scripts/rh-server.in | 2 |
2 files changed, 0 insertions, 4 deletions
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)) diff --git a/scripts/rh-server.in b/scripts/rh-server.in index a9dd758..452a40f 100755 --- a/scripts/rh-server.in +++ b/scripts/rh-server.in @@ -70,5 +70,3 @@ (rh-receive heap (option-ref options 'media-library) (string-append (option-ref options 'media-library) "/archive/")))))) - -(main (command-line)) |