chore(cloudinit): remove superfluous check

This commit is contained in:
Jonathan Boulle 2014-05-09 20:32:51 -07:00
parent 3bb3a683a4
commit e3117269cb

View File

@ -42,11 +42,6 @@ func main() {
os.Exit(0) os.Exit(0)
} }
if file != "" && url != "" && !useProcCmdline {
fmt.Println("Provide one of --from-file, --from-url or --from-proc-cmdline")
os.Exit(1)
}
var ds datasource.Datasource var ds datasource.Datasource
if file != "" { if file != "" {
ds = datasource.NewLocalFile(file) ds = datasource.NewLocalFile(file)