This commit is contained in:
lollipopkit
2023-08-07 20:03:48 +08:00
parent 36b24bedb4
commit b804f43d5a
3 changed files with 0 additions and 4 deletions

View File

@@ -34,7 +34,6 @@ enum AppShellFuncType {
return statusCmds.join(_cmdDivider);
case AppShellFuncType.docker:
return '''
# If the cmd result contains "permission denied", try to use `sudo`
result=\$(docker version 2>&1)
deniedStr="permission denied"
containStr=\$(echo \$result | grep "\${deniedStr}")