summaryrefslogtreecommitdiff
path: root/source4/pidl
diff options
context:
space:
mode:
Diffstat (limited to 'source4/pidl')
-rwxr-xr-xsource4/pidl/pidl7
1 files changed, 5 insertions, 2 deletions
diff --git a/source4/pidl/pidl b/source4/pidl/pidl
index 9daf60eff4..14be05c042 100755
--- a/source4/pidl/pidl
+++ b/source4/pidl/pidl
@@ -347,6 +347,9 @@ $dcom
}
}
-foreach my $filename (@ARGV) {
- process_file($filename);
+if (scalar(@ARGV) == 0) {
+ print "pidl: no input files\n";
+ exit(0);
}
+
+process_file($_) foreach (@ARGV);