diff --git a/test/zdtm/static/binfmt_misc.hook b/test/zdtm/static/binfmt_misc.hook index 5bb8e3591..22191dbe7 100755 --- a/test/zdtm/static/binfmt_misc.hook +++ b/test/zdtm/static/binfmt_misc.hook @@ -1,6 +1,6 @@ #!/bin/bash -[ "$1" == "--clean" ] || exit 0 +[ "$1" == "--clean" ] || [ "$1" == "--pre-restore" ] || exit 0 name=$(basename -s .hook $0).test