gpdb
gpdb copied to clipboard
gppkg: check if SCP command runs succeed
gppkg will use scp(1) to copy file to another host but if the
filesystem is read-only or disk full, GpScp will not emit an
error and the install process will be continuing.
check the scp(1) exit code, if not succeed, emit an error to
stop the install process.
@kaknikhil @jmcatamney please can you help review this one-line PR from our python code perspective