|
|
9f65cc |
From a1b8660316c7d0a541d9e4139df5c5efe2532365 Mon Sep 17 00:00:00 2001
|
|
|
9f65cc |
From: Lukas Nykryn <lnykryn@redhat.com>
|
|
|
9f65cc |
Date: Thu, 29 Jul 2021 17:40:26 +0200
|
|
|
9f65cc |
Subject: [PATCH] dracut-functions: fix botched backport
|
|
|
9f65cc |
|
|
|
9f65cc |
Resolves: #1957622
|
|
|
9f65cc |
---
|
|
|
9f65cc |
dracut-functions.sh | 2 +-
|
|
|
9f65cc |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
9f65cc |
|
|
|
9f65cc |
diff --git a/dracut-functions.sh b/dracut-functions.sh
|
|
|
9f65cc |
index eb2ce748..d75696fd 100755
|
|
|
9f65cc |
--- a/dracut-functions.sh
|
|
|
9f65cc |
+++ b/dracut-functions.sh
|
|
|
9f65cc |
@@ -208,7 +208,7 @@ get_maj_min() {
|
|
|
9f65cc |
|
|
|
9f65cc |
if ! [[ "$_out" ]]; then
|
|
|
9f65cc |
_majmin="$(stat -L -c '%t:%T' "$1" 2>/dev/null)"
|
|
|
9f65cc |
- out="$(printf "%s" "$((0x${_majmin%:*})):$((0x${_majmin#*:}))")"
|
|
|
9f65cc |
+ _out="$(printf "%s" "$((0x${_majmin%:*})):$((0x${_majmin#*:}))")"
|
|
|
9f65cc |
if [[ $get_maj_min_cache_file ]]; then
|
|
|
9f65cc |
echo "$1 $_out" >> "$get_maj_min_cache_file"
|
|
|
9f65cc |
fi
|
|
|
9f65cc |
|