[dtaht/ceropackages-3.10] f96308: [luci-app-sqm] Use stat instead of opening the run...

GitHub noreply at github.com
Tue Jul 28 18:18:38 EDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/dtaht/ceropackages-3.10
  Commit: f96308ae97ab871f886dfe08805684f11fda85a8
      https://github.com/dtaht/ceropackages-3.10/commit/f96308ae97ab871f886dfe08805684f11fda85a8
  Author: Toke Høiland-Jørgensen <toke at toke.dk>
  Date:   2015-07-29 (Wed, 29 Jul 2015)

  Changed paths:
    M luci/luci-app-sqm/files/sqm-cbi.lua

  Log Message:
  -----------
  [luci-app-sqm] Use stat instead of opening the run_path dir.

Check whether the directory exists by calling stat() instead of opening
a file pointer to it.

Signed-off-by: Toke Høiland-Jørgensen <toke at toke.dk>




More information about the Cerowrt-commits mailing list