1 |
diff -ruN e-smith-backup-2.4.0.old/root/etc/e-smith/events/actions/workstation-backup-dar e-smith-backup-2.4.0/root/etc/e-smith/events/actions/workstation-backup-dar |
2 |
--- e-smith-backup-2.4.0.old/root/etc/e-smith/events/actions/workstation-backup-dar 2013-12-02 08:12:13.000000000 -0800 |
3 |
+++ e-smith-backup-2.4.0/root/etc/e-smith/events/actions/workstation-backup-dar 2013-12-02 19:41:50.000000000 -0800 |
4 |
@@ -122,8 +122,14 @@ |
5 |
# verify $mntdir is mounted |
6 |
if (&checkMount ($mntdir)) |
7 |
{ |
8 |
- ldie("Seems backup directory is not really mounted. It should not happen. \ |
9 |
- Verify availability of your backup volume. Stopping the backup now.\n"); |
10 |
+ # The mount should have suceeded, but sometimes it needs more time, |
11 |
+ # so sleep and then check again. |
12 |
+ sleep 5; |
13 |
+ if (&checkMount ($mntdir)) |
14 |
+ { |
15 |
+ ldie("Seems backup directory is not really mounted. It should not happen. \ |
16 |
+ Verify availability of your backup volume. Stopping the backup now.\n"); |
17 |
+ } |
18 |
} |
19 |
|
20 |
# rotating backup indicators |