File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -557,10 +557,6 @@ unit_ctl_welcome()
557
557
shift ;
558
558
done ;
559
559
560
- id -u \
561
- | xargs test 0 -ne \
562
- && err ' welcome: This script requires root privileges to run.' ;
563
-
564
560
command -v curl > /dev/null \
565
561
|| err ' welcome: curl(1) not found in PATH. It must be installed to run this script.' ;
566
562
@@ -1179,10 +1175,6 @@ __EOF__";
1179
1175
command -v curl > /dev/null \
1180
1176
|| err ' repo-config: curl(1) not found in PATH. It must be installed to run this script.' ;
1181
1177
1182
- id -u \
1183
- | xargs test 0 -ne \
1184
- && err ' repo-config: This script requires root privileges to run.' ;
1185
-
1186
1178
echo ' This script sets up the NGINX Unit repository' ;
1187
1179
1188
1180
if ! test $# -ge 3; then
You can’t perform that action at this time.
0 commit comments