diff options
Diffstat (limited to 'source4/pidl')
-rwxr-xr-x | source4/pidl/pidl | 7 |
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); |