diff options
| author | Stijn Tintel <stijn@linux-ipv6.be> | 2017-08-01 03:29:45 +0200 |
|---|---|---|
| committer | Stijn Tintel <stijn@linux-ipv6.be> | 2017-08-07 20:19:18 +0200 |
| commit | b93a53bd94f4255f39bd204197d96b98442b9c56 (patch) | |
| tree | b35fd2285680f23ac0f0861975dafd1a09487fe1 /lang/python/python3/files | |
| parent | 44ef6048e22a1614504ba5c9b9568d5e954ef0d0 (diff) | |
strongswan: check return value instead of output
When the strongswan service is running, `ipsec status` returns 0. Check
the return value instead of checking its output.
While at it, remove the [[ ]] bashism, use rereadall instead of
(reread)secrets, and move it inside the if statement.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'lang/python/python3/files')
0 files changed, 0 insertions, 0 deletions
