conf: improve --vt warning by allowing --seats=,all
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 2 Dec 2012 11:29:18 +0000 (12:29 +0100)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 2 Dec 2012 11:29:18 +0000 (12:29 +0100)
commit63298eb881c4f59e91bc4d39abad9e2dc5d4ba79
tree8ce7c3e463071154370d7e4ac9cd2bdbec2f6a47
parent89081916d7ec2ff533dd20cc9e376e1110299357
conf: improve --vt warning by allowing --seats=,all

If a seat is called "all" and we want to use it as single seat, we
currently have to pass "--seats=all," or "--seats=,all" etc. so it is not
detected as --seats=all.
However, our warning when --vt is used with it does not respect this.
Improve this warning to detect this case and correctly ignore it then.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/kmscon_conf.c