Skip to content

stopping the dnsmasq process not working properly. #20

@polymerchm

Description

@polymerchm

dnsmasq.py:

Suggest you use

ps = subprocess.Popen("ps -e | grep ' dnsmasq' | awk '{print $1}'", shell=True, stdout=subprocess.PIPE)

instead of

ps = subprocess.Popen("ps -e | grep ' dnsmasq' | cut -c 1-7", shell=True, stdout=subprocess.PIPE)

The latter can truncate the PID

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions