From d34fe21963442c6025b56209d0ba10479cde09a6 Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Sat, 2 Jul 2022 15:32:42 -0400 Subject: [PATCH] fix --- .../40cold-boot-attack-defense/wipe-ram-needshutdown.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr/lib/dracut/modules.d/40cold-boot-attack-defense/wipe-ram-needshutdown.sh b/usr/lib/dracut/modules.d/40cold-boot-attack-defense/wipe-ram-needshutdown.sh index 1ab5419..1f59d15 100755 --- a/usr/lib/dracut/modules.d/40cold-boot-attack-defense/wipe-ram-needshutdown.sh +++ b/usr/lib/dracut/modules.d/40cold-boot-attack-defense/wipe-ram-needshutdown.sh @@ -3,6 +3,8 @@ ## Copyright (C) 2022 - 2022 ENCRYPTED SUPPORT LP ## See the file COPYING for copying conditions. +type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh + ram_wipe_check_needshutdown() { local OLD_DRACUT_QUIET OLD_DRACUT_QUIET="$DRACUT_QUIET"