Import Debian changes 4.92-8+deb10u3
[hcoop/debian/exim4.git] / debian / exim4-base.cron.daily
index 8f26b63..9ee4140 100644 (file)
@@ -98,8 +98,8 @@ if [ -x /usr/sbin/exim_tidydb ]; then
     # (see #373786 and #376165)
     find $SPOOLDIR/db -maxdepth 1 -name '*.lockfile' -or -name 'log.*' \
     -or -type f -printf '%f\0' | \
-    su - --shell /bin/bash \
-         --command "xargs -0r -n 1 /usr/sbin/exim_tidydb $SPOOLDIR > /dev/null" \
+    runuser --shell=/bin/bash \
+         --command="xargs -0r -n 1 /usr/sbin/exim_tidydb $SPOOLDIR > /dev/null" \
          Debian-exim
   fi
 fi