changeset 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 c495e6236cfd
children 35c26d9dcaa7
files bin/sud
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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 - "$@"