mirror of
https://github.com/edu4rdshl/blackarch-devtools.git
synced 2026-07-17 23:24:47 +00:00
Remove unneeded code.
This commit is contained in:
parent
7fc133fd5a
commit
bfc0aa4512
1 changed files with 1 additions and 11 deletions
|
|
@ -354,18 +354,8 @@ pub fn test_package(package: &str, executable: &str) {
|
|||
.args(&[&devtools_nspawn, &chroot_blackarch, executable])
|
||||
.status()
|
||||
.expect(
|
||||
"Failed to execute the {} binary in the chroot environment, check the binary name.",
|
||||
"Failed to execute the binary in the chroot environment, check the binary name.",
|
||||
);
|
||||
// if execute_package.success() {
|
||||
// writeln!(
|
||||
// coloring("green"),
|
||||
// "Binary {} sucessfully executed!",
|
||||
// executable
|
||||
// )
|
||||
// .unwrap();
|
||||
// } else {
|
||||
// writeln!(coloring("red"), "An error as ocurred while trying to execute the binary {}, are you sure that it's the binary name?", &executable).unwrap();
|
||||
// }
|
||||
} else {
|
||||
writeln!(
|
||||
coloring("red"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue