diff --git a/scripts/core/sxmo_contacts.sh b/scripts/core/sxmo_contacts.sh index 9c72212..9785063 100755 --- a/scripts/core/sxmo_contacts.sh +++ b/scripts/core/sxmo_contacts.sh @@ -10,6 +10,7 @@ CONTACTSFILE="$XDG_CONFIG_HOME"/sxmo/contacts.tsv LOGFILE="$XDG_CONFIG_HOME"/sxmo/modem/modemlog.tsv contacts() { + grep -q . "$CONTACTSFILE" || echo " " > "$CONTACTSFILE" RECENTCONTACTEDNUMBERSREVCHRON="$( cut -f3 "$LOGFILE" | tac |