main: return an error when running a command failed

This commit is contained in:
Ayke van Laethem
2019-06-04 19:28:57 +02:00
committed by Ron Evans
parent 0ce4d90779
commit 5f9c683abf
+1
View File
@@ -37,6 +37,7 @@ func execCommand(cmdNames []string, args ...string) error {
// this command was not found, try the next
continue
}
return err
}
return nil
}