ispman/bin ispman.setVar,1.6,1.7
Joerg Delker <[email protected]>
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/bin
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv3375/bin
Modified Files:
ispman.setVar
Log Message:
fixing trigger for usage display
Index: ispman.setVar
===================================================================
RCS file: /cvsroot/ispman/ispman/bin/ispman.setVar,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- ispman.setVar 30 May 2004 23:35:32 -0000 1.6
+++ ispman.setVar 27 May 2006 15:09:23 -0000 1.7
@@ -5,7 +5,7 @@
( $FindBin::Bin, "$FindBin::Bin/../lib", "$FindBin::Bin/../conf" );
use Getopt::Std;
getopt( 'mh', \%opts );
- unless ( $opts{'m'} && $ARGV[1] || $opts{'h'} ) {
+ if ( !$opts{'m'} || !defined($ARGV[1]) || $opts{'h'} ) {
print "USAGE: $0 -m module_name variable_name value\n\n";
print "Example:\n";
print "$0 -m sys_vars sleepSecondsBetweenRestart 2\n";
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642