|
@@ -27,6 +27,8 @@ syncFromDisk () { |
|
|
|
|
|
|
|
|
if [ ! -z `du -sh -t $SIZE $HDD_LOG | cut -f1` ]; then |
|
|
if [ ! -z `du -sh -t $SIZE $HDD_LOG | cut -f1` ]; then |
|
|
echo "ERROR: RAM disk too small. Can't sync." |
|
|
echo "ERROR: RAM disk too small. Can't sync." |
|
|
|
|
|
umount -l $RAM_LOG |
|
|
|
|
|
umount -l $HDD_LOG |
|
|
exit 1 |
|
|
exit 1 |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|