summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-dialup/freeradius/files/radius.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-dialup/freeradius/files/radius.init b/net-dialup/freeradius/files/radius.init
index dbbb527c8ed8..75392c846058 100644
--- a/net-dialup/freeradius/files/radius.init
+++ b/net-dialup/freeradius/files/radius.init
@@ -14,7 +14,7 @@ checkconfig() {
return 1
fi
- if [[ ! -d /var/run/radiusd ]] ; then
+ if [[ ! -d /var/run/radiusd ]] && ! mkdir /var/run/radiusd ; then
eerror "Failed to create /var/run/radiusd"
return 1
fi