mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +02:00
Merge github PR #148
Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
commit
64dab81e42
@ -128,7 +128,7 @@ fi
|
|||||||
fi
|
fi
|
||||||
if (( "$OLD_SIZE" != "$NEW_SIZE" )); then
|
if (( "$OLD_SIZE" != "$NEW_SIZE" )); then
|
||||||
INFO "Resize db: $OLD_SIZE -> $NEW_SIZE"
|
INFO "Resize db: $OLD_SIZE -> $NEW_SIZE"
|
||||||
[ -f "$BEESHOME/beescrawl.$UUID.dat" ] && rm "$BEESHOME/beescrawl.$UUID.dat"
|
rm -f "$BEESHOME/beescrawl.dat"
|
||||||
truncate -s $NEW_SIZE $DB_PATH
|
truncate -s $NEW_SIZE $DB_PATH
|
||||||
fi
|
fi
|
||||||
chmod 700 "$DB_PATH"
|
chmod 700 "$DB_PATH"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user