aboutsummaryrefslogtreecommitdiff
path: root/lib/subcommands/del.bash
diff options
context:
space:
mode:
Diffstat (limited to 'lib/subcommands/del.bash')
-rw-r--r--lib/subcommands/del.bash6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/subcommands/del.bash b/lib/subcommands/del.bash
index 3649e69..293e401 100644
--- a/lib/subcommands/del.bash
+++ b/lib/subcommands/del.bash
@@ -24,7 +24,7 @@ subcommand()
# Make sure we only run add if the playbook is not in the registry yet
if ! grep -Fqx "$BASHTARD_PLAYBOOK" "$playbook_registry"
then
- crit "bashtard/add" "'$BASHTARD_PLAYBOOK' is not registered for ${BASHTARD_PLATFORM[fqdn]}"
+ crit "bashtard/del" "'$BASHTARD_PLAYBOOK' is not registered for ${BASHTARD_PLATFORM[fqdn]}"
return 3
fi
@@ -32,13 +32,13 @@ subcommand()
if [[ ! -d "$playbook_base" ]]
then
- emerg "bashtard/sync" "No such directory: $playbook_base"
+ emerg "bashtard/del" "No such directory: $playbook_base"
return 1
fi
if [[ ! -f "$playbook_base/playbook.bash" ]]
then
- emerg "bashtard/sync" "No such file: $playbook_base/playbook.bash"
+ emerg "bashtard/del" "No such file: $playbook_base/playbook.bash"
return 1
fi