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

pishrink writes to stderr instead of stdout #273

Open
firewiremb opened this issue Feb 4, 2024 · 0 comments
Open

pishrink writes to stderr instead of stdout #273

firewiremb opened this issue Feb 4, 2024 · 0 comments

Comments

@firewiremb
Copy link

firewiremb commented Feb 4, 2024

Pishrink writes “normal progress messages” to stderr instead of stdout:

pishrink.sh v0.1.3
pishrink.sh: Copy from /home/pi/USB_Stick1/raspi-live-roh.img to /home/pi/USB_Stick1/raspi-live.img... ...

When used in crontab without >/dev/null, an email is sent reporting an error which does not exist. Therefore &>/dev/null must be used. This means that real error messages cannot be sent by email.

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