Skip to content

Commit 5768fb9

Browse files
committed
fix: use Output insted of CombinedOutput
1 parent bb154e7 commit 5768fb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd/restart.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func SpotifyKill() {
2525
}
2626
case "darwin":
2727
isRunning := exec.Command("pgrep", "-x", "spotify")
28-
_, err := isRunning.CombinedOutput()
28+
_, err := isRunning.Output()
2929
if err == nil {
3030
exec.Command("pkill", "-x", "spotify").Run()
3131
}

0 commit comments

Comments
 (0)