Skip to content
This repository has been archived by the owner on Mar 2, 2021. It is now read-only.

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
Govinda Fichtner authored and Govinda Fichtner committed Apr 18, 2016
1 parent 630bb1d commit e166b0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/wifi_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ iface {{.Name}} inet dhcp
output, err := exec.Command("/sbin/ifdown", interfaceName).CombinedOutput()
if err != nil {
message := fmt.Sprintf("Could not bring the interface down %s: %s ", interfaceName, err)
fmt.Println(message)
}
fmt.Println(string(output)[:])
output, err = exec.Command("/sbin/ifup", interfaceName).CombinedOutput()
Expand Down

0 comments on commit e166b0e

Please sign in to comment.