make POSIX sh compliant
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
#!/bin/sh
|
||||
sleep 1
|
||||
PID=$(pidof ffmpeg)
|
||||
sleep 0.5
|
||||
PID=$(pidof gpu-screen-recorder)
|
||||
if [ -n "$PID" ]; then
|
||||
echo " REC"
|
||||
elif [ -z "$PID" ]; then
|
||||
echo " IDLE"
|
||||
#elif [ -z "$PID" ]; then
|
||||
# echo " - "
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user