fix common/koreader.sh arguments handling on restart (#15312)

Cf. https://github.com/koreader/koreader/pull/15271#pullrequestreview-4116067869.
This commit is contained in:
Benoit Pierre authored and GitHub committed 2026-05-28 17:11:31 +02:00
1 parent 67fcd424d6
commit af18761160
1 file changed
+1 -1
+1 -1
View File
@@ -25,7 +25,7 @@ while [ ${RETURN_VALUE} -eq 85 ]; do
./reader.lua "$@"
RETURN_VALUE=$?
# Do not restart with saved arguments.
set -- "${HOME}"
set --
done
exit ${RETURN_VALUE}