From 5755e86260015a1a46c142cb51848e9531665191 Mon Sep 17 00:00:00 2001 From: awy Date: Tue, 5 Nov 2024 03:53:55 +0300 Subject: define username --- rice.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rice.sh b/rice.sh index a4ed45a..f66aab6 100755 --- a/rice.sh +++ b/rice.sh @@ -1,7 +1,7 @@ #!/bin/sh set -e WORKDIRECTORY=$PWD -PERMUSER="awy" +PERMUSER=$(logname) if [ "$(id -u)" -ne 0 ] then printf "The script has to be run as root.\n" -- cgit v1.2.3