Updated su command
This commit is contained in:
1 parent
9d97505e02
commit
e97053be2d
1 file changed
+1
-1
+1
-1
@@ -39,7 +39,7 @@ pub fn login(
|
|||||||
|
|
||||||
// Activate the generation before handing control back to greetd
|
// Activate the generation before handing control back to greetd
|
||||||
Command::new(format!(
|
Command::new(format!(
|
||||||
"su -c \"{}/activate\" {}",
|
"su - -c \"{}/activate\" {}",
|
||||||
session.generation, user.name
|
session.generation, user.name
|
||||||
))
|
))
|
||||||
.status()
|
.status()
|
||||||
|
|||||||
Reference in new issue
Block a user