Skip to content
Snippets Groups Projects
Commit e8022bef authored by Vitaly Kuznetsov's avatar Vitaly Kuznetsov Committed by Iustin Pop
Browse files

Avoid absolute path for privileged commands


Using absolute path for a privileged command is a bad idea as this path may vary.
For example /usr/sbin/brctl in Debian and /sbin/brctl in ALTLinux. Using $PATH is
a better idea.

Signed-off-by: default avatarVitaly Kuznetsov <vitty@altlinux.ru>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
Signed-off-by: default avatarIustin Pop <iustin@google.com>
parent b9a6d720
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment