Revert "check length"

This reverts commit 1095838cca.
This commit is contained in:
Lynn Cyrin 2019-08-24 03:05:45 -07:00
parent 7d62a9d054
commit c2d1a13208
No known key found for this signature in database
GPG Key ID: EE9CCB427DFEC897

View File

@ -53,12 +53,7 @@ func main() {
}
func runCmd(args ...string) error {
var cmd *exec.Cmd
if len(args) > 1 {
cmd = exec.Command(args[0], args[1:]...)
} else {
cmd = exec.Command(args[0])
}
cmd := exec.Command(args[0], args[1:]...)
cmd.Stdin = os.Stdin
cmd.Stdout = os.Stdout