Skip to content

Commit 34b0620

Browse files
committed
[WARN]去掉sh脚本中的令其在zsh中也能使用
1 parent 3eca137 commit 34b0620

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

can_activate.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ if [ "$IS_LINK_UP" = "yes" ] && [ "$CURRENT_BITRATE" -eq "$DEFAULT_BITRATE" ]; t
113113
fi
114114
else
115115
# If the interface is not activated or the bitrate is different, configure it.
116-
if [ "$IS_LINK_UP" == "yes" ]; then
116+
if [ "$IS_LINK_UP" = "yes" ]; then
117117
echo "Interface $INTERFACE_NAME is already activated, but the bitrate is $CURRENT_BITRATE, which does not match the set value of $DEFAULT_BITRATE."
118118
else
119119
echo "Interface $INTERFACE_NAME is not activated or bitrate is not set."

0 commit comments

Comments
 (0)