Skip to content

Commit

Permalink
Make it work in FreeBSD issue #310
Browse files Browse the repository at this point in the history
  • Loading branch information
Toni de la Fuente committed Apr 9, 2019
1 parent ddad72f commit a2ccac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/os_detector
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


# Functions to manage dates depending on OS
if [ "$OSTYPE" == "linux-gnu" ] || [ "$OSTYPE" == "linux-musl" ]; then
if [ "$OSTYPE" == "linux-gnu" ] || [ "$OSTYPE" == "linux-musl" ] || ["$OSTYPE" == "freebsd" ]; then
TEMP_REPORT_FILE=$(mktemp -t -p /tmp prowler.cred_report-XXXXXX)
# function to compare in days, usage how_older_from_today date
# date format %Y-%m-%d
Expand Down

0 comments on commit a2ccac9

Please sign in to comment.