commit | 8b0d60b2195d3b461d6ee85477927c822da39f09 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Tue May 11 22:48:45 2010 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Tue May 11 22:48:45 2010 +0400 |
tree | 75a413c0ea09dbdd649b7a4c5573aeac330b0191 | |
parent | 98642b9e7a640a9c989898b69870effcbbfb651e [diff] |
vzctl set --features nfsd: recognize it Since feature "nfs" is before "nfsd" in the array of features, we were getting false positive in comparison, then following check for comma was negative and the result is "unknown feature". Fix that by moving the check for comma next to strncmp. Signed-off-by: Kir Kolyshkin <kir@openvz.org>