removing the second and useless exec.Command of useradd
This commit is contained in:
@@ -415,8 +415,6 @@ func GetPacketsUID() (int, error) {
|
||||
}
|
||||
|
||||
func ChangeToNoPermission() error {
|
||||
_ = exec.Command("useradd", "-M", "-N", "packets").Run()
|
||||
|
||||
uid, err := GetPacketsUID()
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user