1 |
snetram |
1.1 |
diff -up e-smith-backup-2.2.0/root/etc/e-smith/events/actions/workstation-backup-dar.fix-x-of-y-strings 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.fix-x-of-y-strings 2011-03-14 11:53:51.000000000 +0100 |
3 |
|
|
+++ e-smith-backup-2.2.0/root/etc/e-smith/events/actions/workstation-backup-dar 2011-03-14 12:40:15.000000000 +0100 |
4 |
|
|
@@ -211,14 +211,14 @@ if ($incnum == 0) |
5 |
|
|
$setnum %= $setsmax; |
6 |
|
|
} |
7 |
|
|
|
8 |
|
|
-$report .= "Using set number $setnum of $setsmax\n"; |
9 |
|
|
+$report .= sprintf("Using set number %d of %d\n", $setnum + 1, $setsmax); |
10 |
|
|
if ($incnum == 0) |
11 |
|
|
{ |
12 |
|
|
$report .= "Attempt full backup \n"; |
13 |
|
|
} |
14 |
|
|
else |
15 |
|
|
{ |
16 |
|
|
- $report .= "Attempt incremental backup number $incnum of $daysinset\n"; |
17 |
|
|
+ $report .= sprintf("Attempt incremental backup number %d of %d\n", $incnum, $daysinset - 1); |
18 |
|
|
} |
19 |
|
|
|
20 |
|
|
# if no set directory, make it |