The script is here: https://github.com/Magisk-Modules-Repo/com.piyushgarg.rclone/blob/master/binary/syncd.sh

The code that I do not believe is working is this:

while true; do
    if [[ ! -e ${SYNC_PENDING} ]]; then
        ${HOME}/inotifywait "/storage/emulated/${PROFILE}/${SYNCDIR}" -e modify,create,moved_to,close_write -q >> /dev/null 2>&1 && touch ${SYNC_PENDING}

When I execute the inotifywait binary as a standalone, I get this message:

CANNOT LINK EXECUTABLE "inotifywait": library "libnotifytools.so" not found.

Does this indicate that I am missing a library? How can I solve the issue?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.