Fix '+' sign in date output
This commit is contained in:
@@ -1725,7 +1725,7 @@ getbirthday () {
|
|||||||
case "$os" in
|
case "$os" in
|
||||||
"Linux")
|
"Linux")
|
||||||
birthday="$(ls -alct --full-time / | awk '/lost\+found/ {printf $6 " " $7}')"
|
birthday="$(ls -alct --full-time / | awk '/lost\+found/ {printf $6 " " $7}')"
|
||||||
date_cmd="$(date -d"$birthday" +"$birthday_format")"
|
date_cmd="$(date -d"$birthday" "$birthday_format")"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Mac OS X")
|
"Mac OS X")
|
||||||
|
|||||||
Reference in New Issue
Block a user