#316: Suceesfull COMMAND execution has exit code 1
----------------------+---------------------
 Reporter:  zivot     |       Owner:  lutter
     Type:  defect    |      Status:  new
 Priority:  critical  |   Milestone:  next
Component:  Augeas    |     Version:  0.10.0
 Keywords:            |  Blocked By:
 Blocking:            |
----------------------+---------------------
 {{{
 # augtool -s set /files/etc/ssh/ssh_config/Host[.=\'*\']/HashKnownHosts
 No; echo $?
 Saved 1 file(s)
 1
 # grep HashKnownHosts /etc/ssh/ssh_config
     HashKnownHosts No
 # augtool -s set /files/etc/ssh/ssh_config/Host[.=\'*\']/HashKnownHosts
 yes ; echo $?
 Saved 1 file(s)
 1
 # grep HashKnownHosts /etc/ssh/ssh_config
     HashKnownHosts yes
 # augtool
 augtool> set /files/etc/ssh/ssh_config/Host[.=\'*\']/HashKnownHosts No
 augtool> save
 Saved 1 file(s)
 augtool> quit
 # echo $?
 0
 # grep HashKnownHosts /etc/ssh/ssh_config
     HashKnownHosts No
 }}}

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/316>
Augeas <http://augeas.net/>
a configuration API

_______________________________________________
augeas-devel mailing list
augeas-devel@redhat.com
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to