~alpine/devel

require root to run setup-alpine-web v1 PROPOSED

Jeremy Thomerson: 1
 require root to run setup-alpine-web

 1 files changed, 6 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/devel/patches/290/mbox | git am -3
Learn more about email & git

[alpine-devel] [PATCH] require root to run setup-alpine-web Export this patch

---
 setup-alpine-web.in |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/setup-alpine-web.in b/setup-alpine-web.in
index 2d5d9cb..3eaed7d 100644
--- a/setup-alpine-web.in
+++ b/setup-alpine-web.in
@@ -123,6 +123,12 @@ EOF
	exit 0
}

# require root
if [ "$(id -u)" != "0" ]; then
	echo "ERROR: This script must be run as root" 1>&2
	exit 1
fi

# parse args
while getopts "b:c:d:H:hR:" opts; do
	case "$opts" in
-- 
1.7.4.2



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---