Code Monkey home page Code Monkey logo

Comments (9)

cxyzzz avatar cxyzzz commented on July 4, 2024

maby is my wrong,im using bash,PATH=/sbin:/su/bin:/su/xbin:/system/bin:/system/xbin
i see the acc.sh already rewrite PATH=/sbin/.magisk/busybox:$PATH or PATH=/sbin/.core/busybox:$PATH
i don't know why log not working.

from acc.

elem089 avatar elem089 commented on July 4, 2024

Guess I'm seeing a similar thing on one of my devices (Sony Xperia TabletZ / pollux_windy) when opening the log window from acca V 1.0.12; see also here

from acc.

VR-25 avatar VR-25 commented on July 4, 2024

As you already noticed, @cxyzzz, the busybox tail is supposed to override the default - which doesn't support -F.
An explanation would be that your systems forbid PATH prepend.
Could you test that and post the output?

$ su
# echo $PATH
# PATH=/dev:$PATH
# echo $PATH

from acc.

cxyzzz avatar cxyzzz commented on July 4, 2024

As you already noticed, @cxyzzz, the busybox tail is supposed to override the default - which doesn't support -F.
An explanation would be that your systems forbid PATH prepend.
Could you test that and post the output?

$ su
# echo $PATH
# PATH=/dev:$PATH
# echo $PATH
$ su
# echo $PATH
/sbin:/su/bin:/su/xbin:/system/bin:/system/xbin
# PATH=/dev:$PATH
# echo $PATH
/dev:/sbin:/su/bin:/su/xbin:/system/bin:/system/xbin

It looks normal

from acc.

cxyzzz avatar cxyzzz commented on July 4, 2024

i modify the acc.sh

-   -L|--logwatch) tail -F ${modPath%/*}/accd-*.log;;
+  -L|--logwatch) echo $PATH && tail -F ${modPath%/*}/accd-*.log;;

then

# acc -L
/sbin:/su/bin:/su/xbin:/system/bin:/system/xbin
tail: not integer: -F

It seems that the path has not been modified

from acc.

VR-25 avatar VR-25 commented on July 4, 2024

Oh, I see.
Do you have busybox installed?

from acc.

cxyzzz avatar cxyzzz commented on July 4, 2024

@VR-25 ye,I install it at /system/xbin

from acc.

cxyzzz avatar cxyzzz commented on July 4, 2024

log working normally after uninstalling busybox.thanks !

from acc.

VR-25 avatar VR-25 commented on July 4, 2024

As I presumed.
I'm improving the busybox handling mechanism to prevent this and similar issues.
Thanks

from acc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.