Fix argument passing for logs and run_args #12

Closed
opened 2020-09-13 15:59:01 +00:00 by 3wordchant · 3 comments
Owner
$ abra logs simplesaml --tail 20 -f --raw
unknown flag: --tail 20 -f --raw
$ abra run_args nextcloud "-u www-data" php /var/www/html/occ
unable to find user  www-data: no matching entries in passwd file

This was working prior to c7e5e3cc, I think we shouldn't quote $DOCKER_ARGS¬ or $LOGS_ARGS` because the shellcheck warning about "unexpected splitting" is actually what we want..

I will be more effective on this when I get round to installing shellcheck locally >.<

``` $ abra logs simplesaml --tail 20 -f --raw unknown flag: --tail 20 -f --raw $ abra run_args nextcloud "-u www-data" php /var/www/html/occ unable to find user www-data: no matching entries in passwd file ``` This was working prior to c7e5e3cc, I think we shouldn't quote `$DOCKER_ARGS¬ or `$LOGS_ARGS` because the shellcheck warning about "unexpected splitting" is actually what we want.. I will be more effective on this when I get round to installing `shellcheck` locally >.<
3wordchant added the
bug
label 2020-09-13 16:02:47 +00:00
Owner

Aha, I admit to not having a clue about bash. I see I can't just blindly apply the shellcheck hints and hope for the best without testing 🙈 lesson learned! I will assign this and fix-up when I get a chance to sit down to it.

Aha, I admit to not having a clue about bash. I see I can't just blindly apply the shellcheck hints and hope for the best without testing :see_no_evil: lesson learned! I will assign this and fix-up when I get a chance to sit down to it.
decentral1se self-assigned this 2020-09-13 20:45:36 +00:00
Owner
https://git.autonomic.zone/autonomic-cooperative/abra/commit/6fdb0d64afd34d0cd8348327ce3a3ea360ffde5d
Author
Owner

Smashing, thank you! Sorry for being too lazy to work out the disable= incantation

Smashing, thank you! Sorry for being too lazy to work out the `disable=` incantation
This repo is archived. You cannot comment on issues.
No Milestone
No Assignees
2 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/abra#12
No description provided.