mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-14 02:52:03 +08:00
root检测
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
if [[ `whoami` != `root` ]]; then
|
if [[ `whoami` != root ]]; then
|
||||||
echo 请以 root 权限运行
|
echo 请以 root 权限运行
|
||||||
echo 按任意键退出
|
echo 按任意键退出
|
||||||
read
|
read
|
||||||
|
|||||||
Reference in New Issue
Block a user