removing the second and useless exec.Command of useradd

This commit is contained in:
2025-09-29 16:37:13 -03:00
parent ff4c61315e
commit 9cf5ae61d8

View File

@@ -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