Expected behavior
Normal execution of idoit-jobs.
Actual behavior
If the password configured in /etc/i-doit/i-doit.sh contains a character you'd normally escape, the shell prints an error about that character being unexpected.
Steps to reproduce the behavior
- In i-doit.sh, set a password with a character you'd normally escape. For me it was a ' ( '.
- Execute idoit-jobs.
Environment
| Question |
Answer |
| i-doit version |
1.13 |
| i-doit edition |
pro |
| Operating system (OS) |
Ubuntu |
| OS version |
18.04 LTS |
Server logs
$ idoit-jobs
Perform important background tasks for i-doit
Archive i-doit logbook
/usr/local/bin/idoit-jobs: eval: line 49: syntax error near unexpected token `('
/usr/local/bin/idoit-jobs: eval: line 49: `sudo -u www-data /usr/local/bin/idoit logbook-archive --user test --password H8(8G6muBkywzVWhUOlR --tenantId 1'
Command 'logbook-archive' failed
Operation failed. Please check what is wrong and try again.
Expected behavior
Normal execution of idoit-jobs.
Actual behavior
If the password configured in /etc/i-doit/i-doit.sh contains a character you'd normally escape, the shell prints an error about that character being unexpected.
Steps to reproduce the behavior
Environment
Server logs