Fix for startup when running under rosetta
This commit is contained in:
parent
e74cdb4618
commit
25fe513953
2
start.sh
2
start.sh
@ -19,7 +19,7 @@ echo "* SBBS PID [${SBBS_PID}]"
|
||||
|
||||
if [ -n ${SBBS_PID} ]; then
|
||||
while [ -d /proc/${SBBS_PID} ]; do
|
||||
NAME=$(cat /proc/${SBBS_PID}/cmdline |awk 'BEGIN { FS = "\0" } ;{print $1}')
|
||||
NAME=$(basename $(cat /proc/${SBBS_PID}/cmdline |awk 'BEGIN { FS = "\0" } ;{print $(NF-2)}'))
|
||||
#echo "* SBBS NAME [${NAME}]"
|
||||
|
||||
if [ "${NAME}" != "sbbs" -a "${NAME}" != "/mnt/lima-rosetta/rosetta" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user