Skip to content

Commit

Permalink
Update task.py
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Jun 7, 2024
1 parent 6b61fa6 commit 5c3f71c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion task.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def openresty_cmd(method = 'reload'):
return True

sys_initd = '/etc/init.d/openresty'
if os.path.exists(install_initd):
if os.path.exists(sys_initd):
os.system(sys_initd + ' ' + method)
return True

Expand Down

0 comments on commit 5c3f71c

Please sign in to comment.