Task #1685 - fixed.err

back to task #1685
download
Error: SHELLCHECK_WARNING (CWE-252):
/etc/sysconfig/network-scripts/ifdown-Team:21:1: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#   19|   . /etc/init.d/functions
#   20|   
#   21|-> cd /etc/sysconfig/network-scripts
#   22|   . ./network-functions
#   23|   

Error: SHELLCHECK_WARNING:
/etc/sysconfig/network-scripts/ifdown-Team:40:11: warning[SC3004]: In POSIX sh, $".." is undefined.
#   38|   if [ -n "${TEAM_CONFIG}" ]; then
#   39|   	if [ ! -x /usr/bin/teamd ]; then
#   40|-> 		net_log $"Team support not available: teamd not found"
#   41|   		exit 1
#   42|   	fi

Error: SHELLCHECK_WARNING (CWE-252):
/etc/sysconfig/network-scripts/ifdown-TeamPort:21:1: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#   19|   . /etc/init.d/functions
#   20|   
#   21|-> cd /etc/sysconfig/network-scripts
#   22|   . ./network-functions
#   23|   

Error: SHELLCHECK_WARNING:
/etc/sysconfig/network-scripts/ifdown-TeamPort:34:11: warning[SC3004]: In POSIX sh, $".." is undefined.
#   32|   if [ -n "${TEAM_MASTER}" ]; then
#   33|   	if [ ! -x /usr/bin/teamdctl ]; then
#   34|-> 		net_log $"Team support not available: teamdctl not found"
#   35|   		exit 1
#   36|   	fi

Error: SHELLCHECK_WARNING:
/etc/sysconfig/network-scripts/ifdown-TeamPort:39:11: warning[SC3004]: In POSIX sh, $".." is undefined.
#   37|   	/sbin/ip link show ${TEAM_MASTER} > /dev/null 2>&1
#   38|   	if [ $? -ne 0 ]; then
#   39|-> 		net_log $"Team master is not present, skipping port device removal from master" info
#   40|   		exit 0
#   41|   	fi

Error: SHELLCHECK_WARNING (CWE-252):
/etc/sysconfig/network-scripts/ifup-Team:21:1: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#   19|   . /etc/init.d/functions
#   20|   
#   21|-> cd /etc/sysconfig/network-scripts
#   22|   . ./network-functions
#   23|   

Error: SHELLCHECK_WARNING:
/etc/sysconfig/network-scripts/ifup-Team:35:11: warning[SC3004]: In POSIX sh, $".." is undefined.
#   33|   if [ -n "${TEAM_CONFIG}" ]; then
#   34|   	if [ ! -x /usr/bin/teamd ]; then
#   35|-> 		net_log $"Team support not available: teamd not found"
#   36|   		exit 1
#   37|   		fi

Error: SHELLCHECK_WARNING (CWE-252):
/etc/sysconfig/network-scripts/ifup-TeamPort:21:1: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#   19|   . /etc/init.d/functions
#   20|   
#   21|-> cd /etc/sysconfig/network-scripts
#   22|   . ./network-functions
#   23|   

Error: SHELLCHECK_WARNING:
/etc/sysconfig/network-scripts/ifup-TeamPort:40:11: warning[SC3004]: In POSIX sh, $".." is undefined.
#   38|   if [ -n "${TEAM_MASTER}" ]; then
#   39|   	if [ ! -x /usr/bin/teamdctl ]; then
#   40|-> 		net_log $"Team support not available: teamdctl not found"
#   41|   		exit 1
#   42|   	fi

Error: SHELLCHECK_WARNING:
/etc/sysconfig/network-scripts/ifup-TeamPort:45:11: warning[SC3004]: In POSIX sh, $".." is undefined.
#   43|   	/sbin/ip link show ${TEAM_MASTER} > /dev/null 2>&1
#   44|   	if [ $? -ne 0 ]; then
#   45|-> 		net_log $"Team master is not present yet, delaying port device initialization" info
#   46|   		exit 0
#   47|   	fi