This commit is contained in:
Eelco Dolstra 2024-01-10 17:46:55 +01:00
parent c2542a8016
commit 6dd1146c24

View file

@ -235,7 +235,7 @@ async fn main_cli() {
.expect("Creating a temporary file");
file.write_all(
format!(
"#! /bin/sh\n{} --server {}\n",
"#! /bin/sh\nexec {} --server {}\n",
std::env::current_exe()
.expect("Getting the path of magic-nix-cache")
.display(),