diff --git a/src/delete.c b/src/delete.c
index a8e15ae9ad4c26b69bf263931af82009a6e86999..55afd2f7c7c918a6650028f5db119d697095d3a8 100644
--- a/src/delete.c
+++ b/src/delete.c
@@ -46,7 +46,7 @@ static void delete_draw_confirm() {
 
   ncprint(1, 2, "Are you sure you want to delete \"%s\"%c",
     cropstr(root->name, 21), root->flags & FF_DIR ? ' ' : '?');
-  if(root->flags & FF_DIR)
+  if(root->flags & FF_DIR && root->sub != NULL)
     ncprint(2, 18, "and all of its contents?");
 
   if(seloption == 0)