move all steps to functions #7

Merged
v0id1st merged 6 commits from editor into main 2026-06-23 00:52:03 +02:00
Showing only changes of commit efae942441 - Show all commits

View File

@@ -2,7 +2,7 @@
# Usage: add_user.sh <login> # Usage: add_user.sh <login>
set -e set -e
source /root/helpers/.env . /root/helpers/.env
LOGIN="$1" LOGIN="$1"
[ -z "$LOGIN" ] && { echo "Użycie: $0 <login>"; exit 1; } [ -z "$LOGIN" ] && { echo "Użycie: $0 <login>"; exit 1; }