Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set -x usage #81

Open
nostroff opened this issue Oct 18, 2022 · 0 comments
Open

set -x usage #81

nostroff opened this issue Oct 18, 2022 · 0 comments

Comments

@nostroff
Copy link

The file anything-sync-daemon.in is using "set -x" as a toggle switch (to enable command printing and disable command printing). This is not correct: the second "set -x" does not toggle command off. To disable command printing, use the cryptic command "set +o xtrace".

Please consider changing lines 437, 454 and 470 in file anything-sync-daemon from "set -x" to "set +o xtrace".

With these changes, only the rsync command should appear in /var/log/syslog when "DEBUG=1" is not configured in asd.service and asd-resync.service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant