Skip to content

Commit 0e1cc7b

Browse files
author
Temur Vibliani
committed
[FIX] Escape inner cat command of init script
1 parent 94ff9ff commit 0e1cc7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

V9/odoo_install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ DAEMON_OPTS="-c \$CONFIGFILE"
161161
[ -f \$CONFIGFILE ] || exit 0
162162
checkpid() {
163163
[ -f \$PIDFILE ] || return 1
164-
pid=`cat \$PIDFILE`
164+
pid=\`cat \$PIDFILE\`
165165
[ -d /proc/\$pid ] && return 0
166166
return 1
167167
}

0 commit comments

Comments
 (0)