Skip to content

Commit

Permalink
show packed size of modules
Browse files Browse the repository at this point in the history
  • Loading branch information
jm33-m0 committed Jul 12, 2023
1 parent d574330 commit 89c6252
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/lib/cc/modcustom.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ func moduleCustom() {
CliPrintError("Compressing %s: %v", CurrentMod, err)
return
}
CliPrintInfo("Created %.2fMB archive (%s) for module '%s'",
float64(util.FileSize(tarball))/1024/1024, tarball, CurrentMod)

// tell agent to download and execute this module
checksum := tun.SHA256SumFile(tarball)
Expand Down

0 comments on commit 89c6252

Please sign in to comment.