diff options
author | awy <awy@awy.one> | 2024-11-05 03:53:55 +0300 |
---|---|---|
committer | awy <awy@awy.one> | 2024-11-05 03:53:55 +0300 |
commit | 5755e86260015a1a46c142cb51848e9531665191 (patch) | |
tree | a0f1359769c024b891b462f9fe15904dacd6f141 /rice.sh | |
parent | 86f0c04dba6406550bb09d5a349e05b728bb1708 (diff) |
define username
Diffstat (limited to 'rice.sh')
-rwxr-xr-x | rice.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |