在生产系统(Centos 7)上运行“mount -a”时,我得到返回代码 64
try:
subprocess.check_call(["mount", "-a"])
except subprocess.CalledProcessError as e:
raise Exception("Failed to run mount command. error:%s", str(e))
以下是日志:
raise Exception("Failed to run mount command. error:%s", str(e))
Exception: ('Failed to run mount command. error:%s', "Command '['mount', '-a']' returned non-zero exit status 64")
退出代码 64 是什么意思?
qq_笑_17
相关分类