Shouldn't you direct this to `/dev/null`. If it doesn't exist you'll have `rm: cannot remove ‘../gitlab.socket': No such file or directory`.