Skip to content
This repository has been archived by the owner on Apr 11, 2018. It is now read-only.

Commit

Permalink
Version string added
Browse files Browse the repository at this point in the history
  • Loading branch information
0xdabbad00 committed Jan 2, 2016
1 parent 8319038 commit 52e970f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions osxlockdown.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ import (
"time"
)

// Version of osxlockdown
var Version = "0.9"

// ReadFile takes a relative path and returns the bytes in that file
func ReadFile(filename string) (data []byte, err error) {
path, err := filepath.Abs(filename)
Expand Down Expand Up @@ -170,6 +173,7 @@ func main() {
// Print summary
if !*hideSummary {
fmt.Printf("-------------------------------------------------------------------------------\n")
fmt.Printf("osxlockdown %s\n", Version)
t := time.Now()
fmt.Printf("Date: %s\n", t.Format("2006-01-02T15:04:05-07:00"))
sysinfo := GetSystemInfo()
Expand Down

0 comments on commit 52e970f

Please sign in to comment.