--- a/common/profile-sync-daemon.in 2014-01-18 13:23:13.000000000 +0200 +++ b/common/profile-sync-daemon.in 2018-01-18 10:04:21.591878053 +0200 @@ -322,7 +322,7 @@ # check that the LAST DIRECTORY in the full path is unique unique_count=$(echo ${DIRArr[@]##*/} | sed 's/ /\n/g' | sort | uniq | wc -l) - if [[ ${#DIRArr[@]##*/} -eq $unique_count ]]; then + if [[ ${#DIRArr[@]} -eq $unique_count ]]; then return # no problems so do nothing else echo -e " ${RED}Error: ${NRM}${BLD}dup profile for ${GRN}$browser${NRM}${BLD} detected. See psd manpage, correct, and try again."${NRM}