Skip to content

Commit

Permalink
slapdtest: Fix error message for missing commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Petr Viktorin authored and Petr Viktorin committed Mar 14, 2018
1 parent 6e0dca6 commit 361b1fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/slapdtest/_slapdtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def _find_command(self, cmd, in_sbin=False):
if command is None:
raise ValueError(
"Command '{}' not found. Set the {} environment variable to "
"override slapdtest's search path.".format(value, var_name)
"override slapdtest's search path.".format(cmd, var_name)
)
return command

Expand Down

0 comments on commit 361b1fb

Please sign in to comment.