diff bin/sud @ 657:91d7c2e5936c

Remove need to manually switch directory with sud
author nanaya <me@nanaya.pro>
date Sun, 25 Jul 2021 21:36:52 +0900
parents 82f5e43259eb
children
line wrap: on
line diff
--- a/bin/sud	Sun Jul 25 21:36:26 2021 +0900
+++ b/bin/sud	Sun Jul 25 21:36:52 2021 +0900
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-exec doas -S "$@"
+doas su - "$@"