diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2020-11-13 18:45:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-13 18:45:59 +0300 |
commit | 22a9fe703755bd83a9b4363b1ccc06c93e06148c (patch) | |
tree | c750aa982696fc5c205e6526d5d247fd77957ef8 /include/tests_boot_services | |
parent | cbb2735e636a5671e6df685631abd3e073f4e944 (diff) | |
parent | 8ee60cea3532e9100f30e2aff0a1a8586c5dbcc4 (diff) |
Merge pull request #1059 from Varbin/solaris-grub-d
Test if /etc/grub.d is a directory
Diffstat (limited to 'include/tests_boot_services')
-rw-r--r-- | include/tests_boot_services | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_boot_services b/include/tests_boot_services index c86ca52c..5e4e5629 100644 --- a/include/tests_boot_services +++ b/include/tests_boot_services @@ -332,7 +332,7 @@ if [ ${SKIPTEST} -eq 0 ]; then FOUND=0 - if [ "${ROOTDIR}etc/grub.d" ]; then + if [ -d "${ROOTDIR}etc/grub.d" ]; then CONF_FILES=$(${FINDBINARY} "${ROOTDIR}etc/grub.d" -type f -name "[0-9][0-9]*" -print0 | ${TRBINARY} '\0' ' ' | ${TRBINARY} -d '[:cntrl:]') CONF_FILES="${GRUBCONFFILE} ${ROOTDIR}boot/grub/custom.cfg ${CONF_FILES}" else |