Opened 4 years ago

Closed 4 years ago

#15778 closed defect (worksforme)

Arm shell $* problem

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

Description

This line

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

should change to

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

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 4 years ago by atagar

Component: - Select a componentNyx
Owner: set to atagar

comment:2 Changed 4 years ago by atagar

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

comment:3 Changed 4 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.