Explorar o código

fixed home variable

Jason Erdmann %!s(int64=11) %!d(string=hai) anos
pai
achega
856aae7218
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      nagios-plugins.spec.in

+ 1 - 1
nagios-plugins.spec.in

@@ -155,7 +155,7 @@ fi
 %if %{islinux}
 getent passwd %{npusr} > /dev/null 2> /dev/null
 if [ $? -ne 0 ] ; then
-	useradd -r -d %{nshome} -c "%{npusr}" -g %{npgrp} %{npusr} || \
+	useradd -r -d %{nphome} -c "%{npusr}" -g %{npgrp} %{npusr} || \
 		%nnmmsg Unexpected error adding user "%{npusr}". Aborting install process.
 fi
 %endif