]> git.evergreen-ils.org Git - OpenSRF.git/commit
LP#1436047: make srfsh --safe act as if "! command" doesn't exist
authorGalen Charlton <gmc@esilibrary.com>
Tue, 24 Mar 2015 21:00:57 +0000 (21:00 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 3 Jun 2015 17:34:19 +0000 (17:34 +0000)
commita8ea7468ed180c7c4cc2da3511a61949312ee5bf
tree18d26f3cd2ac046e5cdb5b8fb0692dba2a71545c
parent3e01997ca7dbd6ce87ce227fc8c950e1de5141f9
LP#1436047: make srfsh --safe act as if "! command" doesn't exist

This patch make srfsh treat attempting to run an external
command via "! command" as a parsing error if --safe is
supplied.  It also suppress mention of "! commands" from
the internal help.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
src/srfsh/srfsh.c