Quote $@ where needed
这个提交存在于:
父节点
dfca1ede69
当前提交
8ee22f3038
共有 3 个文件被更改,包括 3 次插入 和 6 次删除
|
@ -29,8 +29,7 @@ contacts() {
|
|||
}
|
||||
|
||||
modem_cmd_errcheck() {
|
||||
# shellcheck disable=SC2068
|
||||
RES="$(mmcli $@ 2>&1)"
|
||||
RES="$(mmcli "$@" 2>&1)"
|
||||
OK="$?"
|
||||
echo "Command: mmcli $*"
|
||||
if [ "$OK" != 0 ]; then fatalerr "Problem executing mmcli command!\n$RES"; fi
|
||||
|
|
正在加载…
添加表格
添加链接
在新工单中引用