exec singel func
This commit is contained in:
5
src/func/chroot_sh
Normal file → Executable file
5
src/func/chroot_sh
Normal file → Executable file
@ -22,3 +22,8 @@ function chroot_sh() {
|
||||
|
||||
chroot "$chroot_dir" /bin/bash --login -c ". /tmp/env.sh; $command"
|
||||
}
|
||||
|
||||
[ -n "$1" ] && {
|
||||
echo param
|
||||
$1
|
||||
}
|
||||
|
Reference in New Issue
Block a user