Added hung check handling
[chksht.git] / runchecks
index 3467c28..535fa68 100755 (executable)
--- a/runchecks
+++ b/runchecks
@@ -2,6 +2,10 @@
 use strict;
 
 my $dir = shift;
+unless ($dir) {
+       print "No directory specified\n";
+       exit 1;
+}
 unless (-d $dir) {
        print "$dir is not a directory\n";
        exit 1;