mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-04-11 00:44:30 +00:00
Fix typo
This commit is contained in:
parent
8b56122542
commit
20f5f90588
@ -30,7 +30,7 @@ void process_end(bp::child &proc, const std::chrono::duration<Rep, Period>& rel_
|
|||||||
}
|
}
|
||||||
|
|
||||||
int exe(const std::string &cmd, bp::environment &env, file_t &file, std::error_code &ec) {
|
int exe(const std::string &cmd, bp::environment &env, file_t &file, std::error_code &ec) {
|
||||||
if(cmd.empty() || cmd == "null"sv) {
|
if(!file) {
|
||||||
return bp::system(cmd, env, bp::std_out > bp::null, bp::std_err > bp::null, ec);
|
return bp::system(cmd, env, bp::std_out > bp::null, bp::std_err > bp::null, ec);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user