Skip to content

Commit

Permalink
fix: permission judgment error
Browse files Browse the repository at this point in the history
  • Loading branch information
DDSRem committed Dec 14, 2024
1 parent 3f8f033 commit 4e47bba
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion all_in_one.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5756,8 +5756,11 @@ if [ "$(uname -s)" == "Darwin" ]; then
fi
fi
INFO "脚本获取成功!"
sed -i '' '/^root_need$/d' /tmp/xiaoya_install.sh
# shellcheck disable=SC2068
sudo bash /tmp/xiaoya_install.sh $@
if ! sudo bash /tmp/xiaoya_install.sh $@; then
exit 1
fi
fi
fi
if [ ! -d "/tmp/xiaoya_alist_tmp" ]; then
Expand Down

0 comments on commit 4e47bba

Please sign in to comment.