2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-28 06:23:26 +00:00

polish log_error

This commit is contained in:
bybai 2016-01-18 01:42:11 -05:00
parent 2addcbdb07
commit 23be2112c5

View File

@ -39,15 +39,15 @@ if [ -f "/etc/redhat-release" ];then
elif [ -f "/etc/SuSE-release" -o -n "$str_temp" ];then
is_sles=1
nwdir="/etc/sysconfig/network"
log_error "Only supports RHEL" "error"
log_error "Only supports RHEL"
exit -1
elif [ -f "/etc/debian_version" ];then
nwdir="/etc/network/interfaces.d"
is_debian=1
log_error "Only supports RHEL" "error"
log_error "Only supports RHEL"
exit -1
else
log_error "Only supports RHEL" "error"
log_error "Only supports RHEL"
exit -1
fi