diff options
Diffstat (limited to 'libexec/fence/functions/exist')
-rwxr-xr-x | libexec/fence/functions/exist | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libexec/fence/functions/exist b/libexec/fence/functions/exist new file mode 100755 index 0000000..183b5c4 --- /dev/null +++ b/libexec/fence/functions/exist @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +NAME="${@}" + +sudo cnt list -f sh | grep -q "^${NAME}" |