diff --git a/mkdumprd b/mkdumprd
index 238cab4..dc69e2f 100644
--- a/mkdumprd
+++ b/mkdumprd
@@ -464,7 +464,7 @@ if ! is_fadump_capable; then
 
 	add_dracut_arg "--no-hostonly-default-device"
 
-	if fips-mode-setup --is-enabled 2 > /dev/null; then
+	if fips-mode-setup --is-enabled 2> /dev/null; then
 		add_dracut_arg --add-device "$(findmnt -n -o SOURCE --target /boot)"
 	fi
 fi