Opened 5 years ago

Closed 5 years ago

#15778 closed defect (worksforme)

Arm shell $* problem

Reported by: yurivict271 Owned by: atagar
Priority: Medium Milestone:
Component: Archived/Nyx Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


This line

exec python -W ignore::DeprecationWarning "${arm_base}" $*

should change to

exec python -W ignore::DeprecationWarning "${arm_base}" "$@"

This the common pitfall with shell, the former syntax doesn't expand arguments properly, and the latter one does.

Child Tickets

Change History (3)

comment:1 Changed 5 years ago by atagar

Component: - Select a componentNyx
Owner: set to atagar

comment:2 Changed 5 years ago by atagar

Great, thanks yurivict271. I'll make this tweek when the rewrite gets to that part. :)

comment:3 Changed 5 years ago by atagar

Resolution: worksforme
Severity: Normal
Status: newclosed

Cleaning up old tickets. Nyx is undergoing a rewrite, if this is still relevant then feel free to reopen.

Note: See TracTickets for help on using tickets.