View Single Post
Old 10-11-2017, 02:30 PM  
porn-update
Confirmed User
 
porn-update's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 380
Says:
Code:
/var/backup/mysql_backup: line 93: 1507756208-1507756139: command not found
But looking for "bc" (which I did not know), I found this:
Code:
TOTTIME=`expr $ENDTIME - $STARTTIME`
This seems to work

Now I'm worried about those odd quotes...
In PHP when I find those quotes it means that there was a copy paste error from the HTML and nothing works anymore.

So I have the habit of removing them as soon as I see them and replace them with a normal apex... in sh instead it seems to be fundamental... I surely have removed someone thinking they were a error...

I shouldn't have done any damage, because everything seems to work, but maybe I'm going to look for the original script and I see if there was someone...

P.S. It's strange how we can install an entire server, and then the simplest things make us crazy...
porn-update is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote