X-Git-Url: https://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F98-clean-chroot;h=6357c783e36bc70d5af36775526de31ff15b13ba;hb=17243dd21166860ed4ddb941ac1bfa49e74d2efb;hp=c2f3f771505bda24e54c1ceed438e1035a7f802a;hpb=7d9c9eff92335de4c7c0b67f37a456484ae85194;p=grml-live.git diff --git a/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot b/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot index c2f3f77..6357c78 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot +++ b/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot @@ -9,7 +9,7 @@ set -u set -e -if ! [ $(ls $target/boot/config-* 2>/dev/null) ] ; then +if ! ls $target/boot/config-* &>/dev/null ; then echo "No kernel config files (/boot/config-*) found. No kernel-image package installed?" >&2 exit 1 fi