commit | 4e545d967b09a2e8e684f73064f1cd5136b2266c | [log] [tgz] |
---|---|---|
author | Ashlesh Gawande <agawande@memphis.edu> | Thu Sep 24 10:54:27 2015 -0500 |
committer | Ashlesh Gawande <agawande@memphis.edu> | Wed Oct 21 16:00:50 2015 -0500 |
tree | c4cef8b4dd6255f74920b72fea08611e3248c27c | |
parent | 1cebdfc7fb2db0a0244b995f5c0be59b644c5062 [diff] |
exit before starting up if exp name is invalid refs: #3115 Change-Id: I901ac7b951bc21ba8069b5b9be2a1d067ba8e61b
diff --git a/bin/minindn b/bin/minindn index 0b8af79..2a8e4fa 100755 --- a/bin/minindn +++ b/bin/minindn
@@ -146,6 +146,10 @@ printExperimentNames() sys.exit() + if experimentName is not None and experimentName not in ExperimentManager.getExperimentNames(): + print("No experiment named %s" % experimentName) + sys.exit() + if ctime is None: ctime = 60