瀏覽代碼

Fix static analysis failures

Bob Mottram 7 年之前
父節點
當前提交
67c939cab6
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/freedombone-app-tox

+ 1
- 1
src/freedombone-app-tox 查看文件

@@ -185,7 +185,7 @@ function upgrade_tox {
185 185
     set_repo_commit "$INSTALL_DIR/toxcore" "toxcore commit" "$TOXCORE_COMMIT" $TOXCORE_REPO
186 186
     if [[ $(commit_has_changed "$INSTALL_DIR/toxcore" "toxcore commit" "$TOXCORE_COMMIT") == "1" ]]; then
187 187
         cd "$INSTALL_DIR/toxcore" || exit 53683563
188
-        sed -i 's|ExecStart=.*|ExecStart=/usr/local/bin/tox-bootstrapd --config /etc/tox-bootstrapd.conf|g' $rootdir/etc/systemd/system/tox-bootstrapd.service
188
+        sed -i 's|ExecStart=.*|ExecStart=/usr/local/bin/tox-bootstrapd --config /etc/tox-bootstrapd.conf|g' "$rootdir/etc/systemd/system/tox-bootstrapd.service"
189 189
         autoreconf -i
190 190
         ./configure --enable-daemon
191 191
         make