freeside/FS/bin freeside-sqlradius-reset,1.4.4.2,1.4.4.3
ivan
ivan at pouncequick.420.am
Fri Aug 27 04:33:25 PDT 2004
Update of /home/cvs/cvsroot/freeside/FS/bin
In directory pouncequick:/tmp/cvs-serv6459
Modified Files:
Tag: FREESIDE_1_4_BRANCH
freeside-sqlradius-reset
Log Message:
oops use @ARGV not @_
Index: freeside-sqlradius-reset
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/bin/freeside-sqlradius-reset,v
retrieving revision 1.4.4.2
retrieving revision 1.4.4.3
diff -u -d -r1.4.4.2 -r1.4.4.3
--- freeside-sqlradius-reset 27 Aug 2004 11:16:04 -0000 1.4.4.2
+++ freeside-sqlradius-reset 27 Aug 2004 11:33:22 -0000 1.4.4.3
@@ -13,8 +13,8 @@
#my $machine = shift or die &usage;
my @exports = ();
-if ( @_ ) {
- foreach my $exportnum ( @_ ) {
+if ( @ARGV ) {
+ foreach my $exportnum ( @ARGV ) {
foreach my $exporttype (qw( sqlradius sqlradius_withdomain )) {
push @exports, qsearch('part_export', { exportnum => $exportnum,
exporttype => $exporttype, } );
More information about the freeside-commits
mailing list