mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
sync before killing nickel
Hopefully good enough to avoid trashing the DB
This commit is contained in:
@@ -35,7 +35,9 @@ if pkill -0 nickel ; then
|
||||
fi
|
||||
|
||||
if [ "${from_nickel}" == "true" ] ; then
|
||||
# stop kobo software because is running
|
||||
# flush disks, might help avoid trashing nickel's DB...
|
||||
sync
|
||||
# stop kobo software because it's running
|
||||
killall nickel hindenburg fmon 2>/dev/null
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user