Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

wrong way

  • Loading branch information...
commit 4344ebf6907eea5b0c59f700a1fc545775806b50 1 parent 766dcb4
@buzztroll buzztroll authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 cloudinitd/bootfabtasks.py
View
4 cloudinitd/bootfabtasks.py
@@ -116,10 +116,10 @@ def bootpgm(pgm=None, args=None, conf=None, env_conf=None, output=None, stagedir
relpgm = os.path.basename(pgm)
destpgm = "%s/%s" % (stagedir, relpgm)
if local_exe:
- put_pgm(pgm, destpgm, mode=0755)
- else:
put_pgm(pgm, destpgm)
os.chmod(destpgm, 0755)
+ else:
+ put_pgm(pgm, destpgm, mode=0755)
tarname = _iftar(relpgm)
if tarname:
destpgm = _tartask(stagedir, tarname, destpgm, run_pgm=pgm_to_use)
Please sign in to comment.
Something went wrong with that request. Please try again.