mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-01-26 16:08:05 +08:00
root检测
This commit is contained in:
parent
622bff338c
commit
8ce5226c0c
@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
if [[ `whoami` != `root` ]]; then
|
||||
if [[ `whoami` != root ]]; then
|
||||
echo 请以 root 权限运行
|
||||
echo 按任意键退出
|
||||
read
|
||||
|
Loading…
x
Reference in New Issue
Block a user