1
0
Fork 0
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:
winlin 2015-03-20 15:10:17 +08:00
parent a4709a6439
commit 014993ad1e

View file

@ -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"