Fixed minor issue 381

git-svn-id: svn://192.168.202.10@1503 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2010-08-17 16:07:29 +00:00
parent c04051d1c8
commit 24ab888dd6
2 changed files with 6 additions and 4 deletions
@@ -15,6 +15,7 @@
# 80611-0549 - Added DB option to backup all tables except for log tables # 80611-0549 - Added DB option to backup all tables except for log tables
# 90620-1851 - Moved mysqldump bin lookup to database backup section # 90620-1851 - Moved mysqldump bin lookup to database backup section
# 100211-0910 - Added crontab backup and voicemail bacup option # 100211-0910 - Added crontab backup and voicemail bacup option
# 100817-1202 - Fixed test option bug
# #
$secT = time(); $secT = time();
@@ -56,7 +57,7 @@ if (length($ARGV[0])>1)
print " [--ftp-transfer] = Transfer backup to FTP server\n"; print " [--ftp-transfer] = Transfer backup to FTP server\n";
print " [--debugX] = super debug\n"; print " [--debugX] = super debug\n";
print " [--debug] = debug\n"; print " [--debug] = debug\n";
print " [-t] = test\n"; print " [--test] = test\n";
exit; exit;
} }
else else
@@ -71,7 +72,7 @@ if (length($ARGV[0])>1)
$DBX=1; $DBX=1;
print "\n----- SUPER DEBUG -----\n\n"; print "\n----- SUPER DEBUG -----\n\n";
} }
if ($args =~ /-t/i) if ($args =~ /--test/i)
{ {
$T=1; $TEST=1; $T=1; $TEST=1;
print "\n-----TESTING -----\n\n"; print "\n-----TESTING -----\n\n";
+3 -2
View File
@@ -15,6 +15,7 @@
# 80611-0549 - Added DB option to backup all tables except for log tables # 80611-0549 - Added DB option to backup all tables except for log tables
# 90620-1851 - Moved mysqldump bin lookup to database backup section # 90620-1851 - Moved mysqldump bin lookup to database backup section
# 100211-0910 - Added crontab backup and voicemail bacup option # 100211-0910 - Added crontab backup and voicemail bacup option
# 100817-1202 - Fixed test option bug
# #
$secT = time(); $secT = time();
@@ -56,7 +57,7 @@ if (length($ARGV[0])>1)
print " [--ftp-transfer] = Transfer backup to FTP server\n"; print " [--ftp-transfer] = Transfer backup to FTP server\n";
print " [--debugX] = super debug\n"; print " [--debugX] = super debug\n";
print " [--debug] = debug\n"; print " [--debug] = debug\n";
print " [-t] = test\n"; print " [--test] = test\n";
exit; exit;
} }
else else
@@ -71,7 +72,7 @@ if (length($ARGV[0])>1)
$DBX=1; $DBX=1;
print "\n----- SUPER DEBUG -----\n\n"; print "\n----- SUPER DEBUG -----\n\n";
} }
if ($args =~ /-t/i) if ($args =~ /--test/i)
{ {
$T=1; $TEST=1; $T=1; $TEST=1;
print "\n-----TESTING -----\n\n"; print "\n-----TESTING -----\n\n";