https://bugzilla.wikimedia.org/show_bug.cgi?id=65980
Bug ID: 65980
Summary: crontab -e adds bashrc output to crontab file
Product: Wikimedia Labs
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: tools
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Web browser: ---
Mobile Platform: ---
How to reproduce:
------------------
- add "echo something" to .bashrc.
- Then run crontab -e.
Expected behavior:
------------------
An editor with the crontab
Actual behavior:
----------------
An editor with the crontab, but prepended by 'something'.
Workaround:
-----------
Make sure .bashrc output goes to stderr by wrapping the echo's with ( ) >&2
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l