[Koha-bugs] [Bug 15012] koha-shell raises " no job control in shell" error
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Oct 14 15:54:19 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15012
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #43400|0 |1
is obsolete| |
--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 43402
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43402&action=edit
Bug 15012: use sudo instead of su in koha-shell
Not sure this is the best way to fix it but it looks to work.
Test plan:
sudo koha-shell kohadev
should not return any error
Without this patch, you should get
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
Confirm that other options work as before
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Works as expected. Tested on kohadevbox:ansible.
KOHA_CONF and PERL5LIB are correctly set on the child shell.
Bonus point: koha-shell doesn't die if the user issues Ctrl+C to abort an
execution.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list