fixed buggy error message
This commit is contained in:
parent
115871aeb7
commit
ab7f840215
2
init.go
2
init.go
@ -82,7 +82,7 @@ func Init() {
|
|||||||
|
|
||||||
if !*NoCompress {
|
if !*NoCompress {
|
||||||
if _, err := exec.LookPath("upx"); err != nil {
|
if _, err := exec.LookPath("upx"); err != nil {
|
||||||
Println(ColorWarn.Sprint(os.Stderr, "upx not found in PATH. file compression not possible"))
|
Println(ColorWarn.Sprint("upx not found in PATH. file compression not possible"))
|
||||||
*NoCompress = true
|
*NoCompress = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user