This commit is contained in:
parent
a5cf9313e9
commit
964e8598b1
@ -310,7 +310,7 @@ complete -F _dropshell_completions ds
|
|||||||
std::filesystem::remove(exe_path.parent_path() / "dropshell.old");
|
std::filesystem::remove(exe_path.parent_path() / "dropshell.old");
|
||||||
|
|
||||||
// execute the new version
|
// execute the new version
|
||||||
execlp("bash", "bash", "-c", (parent_path / "dropshell").c_str(), "install", (char *)nullptr);
|
execlp("bash", "bash", "-c", (exe_path.parent_path() / "dropshell").string() + "install", (char *)nullptr);
|
||||||
error << "Failed to execute new version of dropshell." << std::endl;
|
error << "Failed to execute new version of dropshell." << std::endl;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user