sys - amend RunSilentCmd
This commit is contained in:
parent
e2fc91ffba
commit
0cf4755502
|
@ -15,7 +15,7 @@ import (
|
||||||
var TERM_WIDTH = 0
|
var TERM_WIDTH = 0
|
||||||
|
|
||||||
func RunSilentCmd(cmd *exec.Cmd) int {
|
func RunSilentCmd(cmd *exec.Cmd) int {
|
||||||
_, err := cmd.CombinedOutput()
|
err := cmd.Run()
|
||||||
return ManageStatusCmd(cmd, err)
|
return ManageStatusCmd(cmd, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user