1 |
wellsi |
1.1 |
diff -up e-smith-backup-2.2.0/root/etc/e-smith/events/actions/workstation-backup-dar.workstation-backup-df e-smith-backup-2.2.0/root/etc/e-smith/events/actions/workstation-backup-dar |
2 |
|
|
--- e-smith-backup-2.2.0/root/etc/e-smith/events/actions/workstation-backup-dar.workstation-backup-df 2013-07-13 20:03:04.000000000 -0700 |
3 |
|
|
+++ e-smith-backup-2.2.0/root/etc/e-smith/events/actions/workstation-backup-dar 2013-07-13 20:04:23.000000000 -0700 |
4 |
|
|
@@ -440,7 +440,7 @@ foreach $key (sort keys %backupfiles) |
5 |
|
|
|
6 |
|
|
# Check free disk space |
7 |
|
|
my $df = qx(/bin/df -Ph \"$mntdir\"); |
8 |
|
|
-if ($df =~ /^\S+\s+(\S+)\s+(\S+)\s+(\S+)\s+(\d*%)/mi) |
9 |
|
|
+if ($df =~ /(\S+)\s+(\S+)\s+(\S+)\s+(\d*%)/) |
10 |
|
|
{ |
11 |
|
|
$report .= "Disk usage $2, $4 full, $3 available\n"; |
12 |
|
|
} |