Skip to content
This repository was archived by the owner on Jan 16, 2024. It is now read-only.

Commit 0af852d

Browse files
committed
M #-: Fix fallback detection in onesysprep of RHEL/C6
1 parent c228e8c commit 0af852d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/usr/sbin/onesysprep

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,9 +495,9 @@ syscheck()
495495

496496
# check for legacy RHEL/CentOS 6
497497
elif [ -f /etc/centos-release ]; then
498-
echo 'centos'
498+
_ONE_OS_ID='centos'
499499
elif [ -f /etc/redhat-release ]; then
500-
echo 'rhel'
500+
_ONE_OS_ID='rhel'
501501

502502
else
503503
_ONE_OS_ID=$(uname | tr '[:upper:]' '[:lower:]')

0 commit comments

Comments
 (0)