rsync-time-backup icon indicating copy to clipboard operation
rsync-time-backup copied to clipboard

ps -p not supported on busybox systems

Open leotulipan opened this issue 3 years ago • 0 comments

Line 468 and 474 use ps -p unfortunately this is not supported in busybox systems (i.e. the QNAP NAS I am using)

There is a script which would manually replace ps but it might be more universal to replace the ps -p calls with a combination of ps and grep as seen here

BTW the script does continue to run even with the error output I get. It just doesn't get the chance to see a running process with the PID so would potentially start backup a second time

ps: invalid option -- 'p' BusyBox v1.24.1 (2021-04-28 02:56:13 CST) multi-call binary.

leotulipan avatar May 01 '21 06:05 leotulipan