--- psinib.pl 2003/01/31 22:31:41 1.7 +++ psinib.pl 2003/03/04 21:08:43 1.8 @@ -192,9 +192,9 @@ my %param = ( debug => 0 ); - $param{username} = shift; - $param{password} = shift; - $param{workgroup} = shift; + $param{username} = shift || warn "can't find username for share $share"; + $param{password} = shift || warn "can't find passwod for share $share"; + $param{workgroup} = shift || warn "can't find workgroup for share $share"; my ($host,$dir,$date_dir) = share2host_dir($share);