mirror of
https://git.freebsd.org/ports.git
synced 2025-06-25 06:30:29 -04:00
22 lines
829 B
C++
22 lines
829 B
C++
diff --git src/tools/rbd/action/Trash.cc src/tools/rbd/action/Trash.cc
|
|
index c4a17e4134..8b8fd8a322 100644
|
|
--- src/tools/rbd/action/Trash.cc
|
|
+++ src/tools/rbd/action/Trash.cc
|
|
@@ -12,6 +12,7 @@
|
|
*
|
|
*/
|
|
|
|
+#include "include/compat.h"
|
|
#include "tools/rbd/ArgumentTypes.h"
|
|
#include "tools/rbd/Shell.h"
|
|
#include "tools/rbd/Utils.h"
|
|
@@ -145,9 +146,6 @@ int execute_remove(const po::variables_map &vm,
|
|
std::cerr << "rbd: image has snapshots - these must be deleted"
|
|
<< " with 'rbd snap purge' before the image can be removed."
|
|
<< std::endl;
|
|
- } else if (r == -EUCLEAN) {
|
|
- std::cerr << "rbd: error: image not fully moved to trash."
|
|
- << std::endl;
|
|
} else if (r == -EBUSY) {
|
|
std::cerr << "rbd: error: image still has watchers"
|
|
<< std::endl
|