diff options
| author | van Hauser <vh@thc.org> | 2024-07-24 14:50:57 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-24 14:50:57 +0200 |
| commit | db23931e7c1727ddac8691a6241c97b2203ec6fc (patch) | |
| tree | 7b3c3bcb8db3aa3e42835edf27be5baea1097c42 /afl-whatsup | |
| parent | 19ca7b3761f5abff8b72770d6bbfbde80ef5b985 (diff) | |
| parent | 6e37f9b237ed12193688c86b6a527f32793f157e (diff) | |
| download | afl++-db23931e7c1727ddac8691a6241c97b2203ec6fc.tar.gz | |
Merge pull request #2172 from AFLplusplus/dev
push to stable
Diffstat (limited to 'afl-whatsup')
| -rwxr-xr-x | afl-whatsup | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/afl-whatsup b/afl-whatsup index 19841755..6fa2dfc2 100755 --- a/afl-whatsup +++ b/afl-whatsup @@ -112,12 +112,12 @@ if [ -z "$NO_COLOR" ]; then fi PLATFORM=`uname -s` -if [ "$PLATFORM" = "Linux" ] ; then - CUR_TIME=`cat /proc/uptime | awk '{printf "%.0f\n", $1}'` -else +#if [ "$PLATFORM" = "Linux" ] ; then +# CUR_TIME=`cat /proc/uptime | awk '{printf "%.0f\n", $1}'` +#else # This will lead to inacurate results but will prevent the script from breaking on platforms other than Linux CUR_TIME=`date +%s` -fi +#fi TMP=`mktemp -t .afl-whatsup-XXXXXXXX` || TMP=`mktemp -p /data/local/tmp .afl-whatsup-XXXXXXXX` || TMP=`mktemp -p /data/local/tmp .afl-whatsup-XXXXXXXX` || exit 1 trap "rm -f $TMP" 1 2 3 13 15 |
