about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--main.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.go b/main.go
index b43381e..ee74072 100644
--- a/main.go
+++ b/main.go
@@ -142,7 +142,9 @@ func main() {
 			userlist := strings.Split(out.String(), " ")
 			var sanilist string
 			for i, e := range userlist {
-				userlist[i] = "_" + e
+				if userlist[i] != " " {
+					userlist[i] = "_" + e
+				}
 			}
 			for i := range userlist {
 				sanilist += userlist[i]