ksvalidator - can't detect errors?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sometimes ksvalidator will complain but not return an error, for
instance:

   # ksvalidator -v RHEL5 /tmp/tmp.57yMAuel5v
   The following problem occurred on line 2 of the kickstart file:
   Unknown command: somesetting1
   # echo $?
   0

I want to be able to detect such problems.  But when I try to
redirect or pipe the output of ksvalidator, it produces no
output.

How can I detect such problems within a shell script?

Fedora 14, pykickstart-1.77-2.


_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list


[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux