Commit 261069b6 authored by Lars Bahner's avatar Lars Bahner

Fixed silly race


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1875 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent bec43770
#!/bin/sh
varnish_setup_user() {
if ! id varnish > /dev/null 2>&1 ; then
adduser --system --no-create-home varnish 2>&1 > /dev/null || exit 78
fi
}
varnish_setup_user
# Automatically added by dh_installinit
if [ -x "/etc/init.d/varnish" ]; then
......@@ -21,11 +28,3 @@ if [ -x "/etc/init.d/varnishlog" ]; then
fi
fi
# End automatically added section
varnish_setup_user() {
if ! id varnish > /dev/null 2>&1 ; then
adduser --system --no-create-home varnish 2>&1 > /dev/null || exit 78
fi
}
varnish_setup_user
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment