summaryrefslogtreecommitdiff
path: root/src/init
diff options
context:
space:
mode:
authorGravatar Matthias Lucas Jaros <jarlucmat@mailbox.org>2025-11-27 20:25:04 +0100
committerGravatar Matthias Lucas Jaros <jarlucmat@mailbox.org>2025-11-27 20:25:04 +0100
commit1e523283fb08ba9007613624ae9d89c90dc242e7 (patch)
tree7a5b0ad0ce8eb7098ddc9a2a233f501f83392078 /src/init
parent90811627db393506cf3fe394135c1a2acf0a7c77 (diff)
Bump to next snapshot version. Make scripts more efficient by avoiding call of cat
Diffstat (limited to 'src/init')
-rwxr-xr-xsrc/init4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init b/src/init
index ffb594e..d68c621 100755
--- a/src/init
+++ b/src/init
@@ -18,7 +18,7 @@ end
function checkUser
set -l user $argv[1]
- cat /etc/passwd | grep -q -E "^$user:"
+ grep -q -E "^$user:" < /etc/passwd
return $status
end
@@ -182,4 +182,4 @@ touch $_LOG && chmod 777 $_LOG
setupSSH; or return $status
# run ssh daemon
-exec /usr/sbin/sshd -D -e \ No newline at end of file
+exec /usr/sbin/sshd -D -e