Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Insufficient permission not reported as an Error #52

Open
Busyvar opened this issue Aug 17, 2022 · 0 comments
Open

Insufficient permission not reported as an Error #52

Busyvar opened this issue Aug 17, 2022 · 0 comments

Comments

@Busyvar
Copy link

Busyvar commented Aug 17, 2022

Given : User is on linux, has no root privilege, has iw installed
When : User ask for scan
Then : User receive an empty list.

Expected behaviour : a specific error is returned.

iw require specific permission to launch scan subcommand.
quickfix suggest : after sending iw scan command, check exit status. It's 0 when scan has been operated properly and 255 when there is insuficient permission.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant