We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d4ae82 commit 5fff2f4Copy full SHA for 5fff2f4
src/handlers/handle_create_service.rs
@@ -164,7 +164,9 @@ async fn create_service_file(
164
env::var("SUDO_USER").expect("Must be in sudo mode. ENV variable $SUDO_USER not found");
165
let mut exec_start = match interpreter {
166
Some(interpreter) => {
167
- let interpreter_path = find_binary_path(&interpreter, &user).await.unwrap();
+ let interpreter_path = find_binary_path(&interpreter, &user).await.unwrap()
168
+ .trim_end_matches("\n").to_string();
169
+
170
println!("got path {}", interpreter_path);
171
172
format!("{} {}", interpreter_path, file_name)
0 commit comments