On 5/27/2015 11:40 AM, PGNd wrote:
>
> On Wed, May 27, 2015, at 11:35 AM, Tom Eastep wrote:
>>> What's the right place/method to do that prereq check, and safely, 
>>> immediately exit the compile step? 
>>>
>> Aren't you using Shorewall-lite? If so, the compiler normally runs on a
>> system different from the firewall.
> Yes, I am. And, yes, it does here.
>
> I'm simply asking where/how to abort the compile step correctly & cleanly on 
> THIS local machine, so as to fire an error, and NOT try to push any update to 
> the target, remote firewall.
>
>
In the 'compile' extension script (written in Perl):

use Shorewall::Config;

...

fatal_error( "Something is wrong" );

-Tom

-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to