You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/02/08 03:18:31 UTC

[GitHub] [apisix] spacewander commented on pull request #6246: ci: runner shell sudo doesn't affect redirects SC2024

spacewander commented on pull request #6246:
URL: https://github.com/apache/apisix/pull/6246#issuecomment-1032171354


   The SC2024 requires `sudo tee` because `sudo` doesn't affect `>`.
   See the example, `echo 3 | sudo tee /proc/sys/vm/drop_caches > /dev/null`.
   
   However, as I mentioned several days ago, we don't need `sudo` to write to `build.log`. There is no need to introduce an extra cmd to do what `>` can do.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org