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

Commit c228e8c

Browse files
committed
F #227: Fix RHEL 6 detection
1 parent b10f2b3 commit c228e8c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/etc/one-context.d/loc-10-network.d

src/etc/one-context.d/loc-10-network.d/functions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ detect_os()
206206
elif [ -f /etc/centos-release ]; then
207207
echo 'centos'
208208
elif [ -f /etc/redhat-release ]; then
209-
echo 'redhat'
209+
echo 'rhel'
210210

211211
# fallback to uname (returns Linux, FreeBSD, ...)
212212
else

0 commit comments

Comments
 (0)