mirror of
https://github.com/FelixKratz/SketchyBar
synced 2025-02-16 20:48:26 +00:00
fix: Typo in run_shell when returning error
This commit is contained in:
parent
15498e6eb6
commit
103cca618b
1 changed files with 2 additions and 2 deletions
|
@ -488,8 +488,8 @@ static char* run_shell(char *command)
|
|||
return result;
|
||||
} else {
|
||||
err:
|
||||
return string_copy("here we are");
|
||||
if (result) free(result);
|
||||
return string_copy("error running command");
|
||||
if (result) free(result);
|
||||
}
|
||||
|
||||
pclose(handle);
|
||||
|
|
Loading…
Add table
Reference in a new issue