Skip to content

Commit

Permalink
bugfix: gsectl 脚本 RC_LOCAL_FILE 识别修复 (closed #2016)
Browse files Browse the repository at this point in the history
  • Loading branch information
wyyalt committed Mar 1, 2024
1 parent bff70ef commit 6d0afa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script_tools/gsectl/agent/linux/gsectl
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ get_os_type () {

check_rc_file () {
get_os_type
if [ -f $RC_LOCAL_FILE ]; then
if [ -f "$RC_LOCAL_FILE" ]; then
return 0
elif [ -f "/etc/rc.d/rc.local" ]; then
RC_LOCAL_FILE="/etc/rc.d/rc.local"
Expand Down

0 comments on commit 6d0afa8

Please sign in to comment.