mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-12 06:02:30 +02:00
refactor: remove useless tmp variable
This commit is contained in:
@ -35,7 +35,6 @@ inline struct res exec(const std::string cmd)
|
||||
inline bool forkExec(std::string cmd) {
|
||||
if (cmd == "") return true;
|
||||
|
||||
printf("fork exec command %s\n", cmd.c_str());
|
||||
int32_t pid = fork();
|
||||
|
||||
if (pid < 0) {
|
||||
|
Reference in New Issue
Block a user