os: fix Mac access error

This commit is contained in:
afwerar 2022-08-26 15:01:23 +08:00
parent bdf0a41b39
commit b4344c2600
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
if [ $1 -eq "abort-upgrade" ]; then
if [ "$1"x = "abort-upgrade"x ]; then
exit 0
fi