Skip to content

Commit 44e48f0

Browse files
committed
fix pid permissions problem
1 parent d961538 commit 44e48f0

File tree

1 file changed

+1
-1
lines changed
  • rpm/fs/etc/rc.d/init.d

1 file changed

+1
-1
lines changed

rpm/fs/etc/rc.d/init.d/mad

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ start() {
6969
warning "$prog: already running"
7070
else
7171
cd "$dir"
72-
su "$user" -s /bin/sh -c "nice $exec ${APP_PARAMS} ${ADDITIONAL_APP_PARAMS} >> $log_dir/system.out 2>&1 & echo \$! > $pid_file"
72+
su "$user" -s /bin/sh -c "nice $exec ${APP_PARAMS} ${ADDITIONAL_APP_PARAMS} >> $log_dir/system.out 2>&1 & echo \$!" > $pid_file
7373
if ! is_running; then
7474
failure "$prog did not start"
7575
retval=1

0 commit comments

Comments
 (0)