changeset 654:7bbb397168b7

ftjail: Call "etcupdate" by its full absolute path
author Franz Glasner <fzglas.hg@dom66.de>
date Sat, 28 Sep 2024 14:09:38 +0200
parents e878b3a5b0c5
children 5ba31e3748ca
files sbin/ftjail
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sbin/ftjail	Sat Sep 28 14:09:04 2024 +0200
+++ b/sbin/ftjail	Sat Sep 28 14:09:38 2024 +0200
@@ -1082,7 +1082,7 @@
     if [ -n "${_etcupdate_tarball}" ]; then
         # Note: Check for readability has been done above
         echo "Calling etcupdate for DESTDIR=${_directory}"
-        etcupdate -D "${_directory}" -t "${_etcupdate_tarball}"
+        /usr/sbin/etcupdate -D "${_directory}" -t "${_etcupdate_tarball}"
     fi
 
     if [ "${_opt_keep}" != "yes" ]; then