/* Get the current group. String must be g_free()d after use.  */
gchar* get_cur_groupname(void)
/* Get the current group. String must be g_free()d after use.  */
gchar* get_cur_groupname(void)
{
		groupname = g_strdup(gr->gr_name);
	} else {
		groupname = g_strdup("UNKNOWN");
	}
	endgrent();
	return groupname;
}