From 0c2143cf87c15458baa2a1b6e8274438d2255f1f Mon Sep 17 00:00:00 2001
From: Luca Bilke <luca@asmara.fritz.box>
Date: Sat, 13 Jan 2024 15:09:38 +0100
Subject: [PATCH] fix trash-put bug

---
 .local/bin/trash-put | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.local/bin/trash-put b/.local/bin/trash-put
index 4ed781ef..83e7e547 100755
--- a/.local/bin/trash-put
+++ b/.local/bin/trash-put
@@ -60,7 +60,7 @@ stat $ARGV[0] or die "$!";
 my ( $file_name, $file_src, $file_fs_root ) = file_info( $ARGV[0] );
 
 my ( $trash_info_path, $trash_file_path ) = trash_dirs($file_fs_root);
-make_path( $trash_info_path, $trash_file_path ) or die "$!";
+make_path( $trash_info_path, $trash_file_path );
 
 my $target_name = target_file_name( $file_name, $trash_file_path );
 chomp( my $deletion_time = `date -u +%Y%m%dUTC%T` );