Skip to content
This repository has been archived by the owner on Jan 9, 2019. It is now read-only.

Commit

Permalink
lego: run_chroot: Fix to run script + args
Browse files Browse the repository at this point in the history
Fix schroot command to run script with args inside a
temporary chroot. This was already implemented for
persistent chroots, but was added to provide
feature completeness.
  • Loading branch information
Fresbee committed Jul 9, 2015
1 parent dba07d0 commit c1483ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lego
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ run_chroot()
colorecho red "WARNING: '$chroot_name' is a base-chroot. A temporary snapshot will be created and chroot'd to."
colorecho red " THIS CHROOT ENVIRONMENT WILL BE DESTROYED AND LOST FOREVER WHEN YOU LOG OUT OF THE CHROOT."
colorecho red " Use the new command to create a persistent work-chroot."
schroot -c $chroot_name
schroot -c $chroot_name -- $@
exitval=$?
colorecho yellow "NOTE: Temporary work-chroot environment permanently deleted."
return $exitval
Expand Down

0 comments on commit c1483ca

Please sign in to comment.