Remove sudo

[GitHub link #23]
This commit is contained in:
Aoran Zeng
2024-06-08 06:11:49 +08:00
parent 3b620afe7e
commit 64ef33cb19
2 changed files with 25 additions and 24 deletions

View File

@@ -351,7 +351,7 @@ chsrc_ensure_root ()
else return;
}
not_root:
xy_error ("chsrc: 请在命令前使用 sudo 来保证必要的权限");
xy_error ("chsrc: 请在命令前使用 sudo 或切换为root用户来保证必要的权限");
exit (1);
}