Fix to make it compatible with FeeBSD.
This commit is contained in:
parent
4ea6d52495
commit
a3ae1e4abc
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ function home() {
|
|||
up)
|
||||
cd ~
|
||||
if test -f .lastupdate; then
|
||||
last_update=$(stat -c %Y .lastupdate)
|
||||
last_update=$(date -r .lastupdate +%s)
|
||||
echo "Last configuration update: $last_update"
|
||||
current_date=$(date +%s)
|
||||
echo "Current date: $current_date"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue