提交 54c82bb2 编写于 作者: C Chris Hajas 提交者: Chris Hajas

Allow gptransfer to run on non-Linux machines

Signed-off-by: NJamie McAtamney <jmcatamney@pivotal.io>
上级 a8aa31e7
......@@ -4260,10 +4260,6 @@ class GpTransfer(object):
# Main
# --------------------------------------------------------------------------
if __name__ == '__main__':
if curr_platform != LINUX:
logger.error("gptransfer is only available on Linux.")
sys.exit(1)
# Preemptively check for command -h | --help.
# This will automacially exit gptransfer and print the help text if -h | --help is found
exit_on_help = create_parser()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册