fix common/koreader.sh arguments handling on restart (#15312)
Cf. https://github.com/koreader/koreader/pull/15271#pullrequestreview-4116067869.
This commit is contained in:
1 parent
67fcd424d6
commit
af18761160
1 file changed
+1
-1
@@ -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}
|
||||
Reference in new issue
Block a user