mirror of
https://github.com/ossrs/srs.git
synced 2025-02-14 20:31:56 +00:00
remove the sudo of log.
This commit is contained in:
parent
a4709a6439
commit
014993ad1e
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ failed_msg(){
|
|||
|
||||
function check_log(){
|
||||
log_dir="`dirname $log`"
|
||||
(mkdir -p ${log_dir} && sudo chmod 777 ${log_dir} && touch $log)
|
||||
(mkdir -p ${log_dir} && chmod 777 ${log_dir} && touch $log)
|
||||
ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "create log failed, ret=$ret"; return $ret; fi
|
||||
ok_msg "create log( ${log} ) success"
|
||||
|
||||
|
|
Loading…
Reference in a new issue