1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-backup-1.15.0/root/etc/e-smith/events/actions/workstation-backup-dar mezzanine_patched_e-smith-backup-1.15.0/root/etc/e-smith/events/actions/workstation-backup-dar |
2 |
--- e-smith-backup-1.15.0/root/etc/e-smith/events/actions/workstation-backup-dar 2007-10-26 11:52:13.000000000 -0600 |
3 |
+++ mezzanine_patched_e-smith-backup-1.15.0/root/etc/e-smith/events/actions/workstation-backup-dar 2007-10-26 11:51:12.000000000 -0600 |
4 |
@@ -111,9 +111,7 @@ |
5 |
} |
6 |
elsif ($VFSType eq 'smbfs') |
7 |
{ |
8 |
- $err = |
9 |
- qx(/bin/mount -t smbfs //$smbhost/$smbshare $mntdir |
10 |
- -o username=$login,password=$password,dmask=777,fmask=777,ip=$smbhost 2>&1); |
11 |
+ $err = qx(/bin/mount -t smbfs //$smbhost/$smbshare $mntdir -o username=$login,password=$password,dmask=777,fmask=777,ip=$smbhost 2>&1); |
12 |
ldie("Error while mounting //$smbhost/$smbshare : \n" . $err) if $err; |
13 |
} |
14 |
elsif ($VFSType eq 'nfs') |
15 |
@@ -235,7 +233,7 @@ |
16 |
"/usr/bin/dar", |
17 |
"-c", |
18 |
"$tmpdir/$id/$bkname", |
19 |
- "$ref", |
20 |
+ split(/\s+/,$ref), |
21 |
"-B", |
22 |
"/etc/dar/$job.dcf"); |
23 |
|