From 0cff8e7c413632d0599cb89b0bd411cfc6659a84 Mon Sep 17 00:00:00 2001 From: dacav Date: Tue, 22 Apr 2025 23:31:55 +0200 Subject: [PATCH] Drop unnecessary trap If we are using a file, the trap is not defined in the first place, so we don't need to undefined it. --- imgbb | 1 - 1 file changed, 1 deletion(-) diff --git a/imgbb b/imgbb index 3adfe90..214c46f 100755 --- a/imgbb +++ b/imgbb @@ -279,7 +279,6 @@ else image_source_description="file '$filepath'" TMP_IMG="$filepath" # Use the provided file path directly. echo "Using image from file: $filepath" - trap '' EXIT # Clear trap if we are not using temp files. fi # Build curl options.