Cleanup dsa-update-unowned-file-status and dsa-update-unowned-file-status creation...
[mirror/dsa-nagios.git] / dsa-nagios-checks / sbin / dsa-update-unowned-file-status
index cc4e812..56331ef 100755 (executable)
@@ -25,9 +25,7 @@ CUTOFF=40
 STATUSDIR=/var/cache/dsa/nagios
 STATUS="${STATUSDIR}"/nouser
 
-if [ ! -d "${STATUSDIR}" ]; then
-        mkdir -p "${STATUSDIR}"
-fi
+mkdir -p "${STATUSDIR}"
 
 tmp=`tempfile`
 trap "rm -f '$tmp'" exit