diff --git a/lib/functions/compilation/patch/patching.sh b/lib/functions/compilation/patch/patching.sh index 5cc1ffc7fa..ffd90e956a 100644 --- a/lib/functions/compilation/patch/patching.sh +++ b/lib/functions/compilation/patch/patching.sh @@ -214,7 +214,7 @@ function userpatch_create() { # If Git is configured, create proper patch and ask for a name display_alert "Add / change patch name" "${patch_commit_message}" "wrn" - read -e -p "Patch Subject: " -i "${patch_commit_message}" patch_commit_message + read -r -e -p "Patch Subject: " -i "${patch_commit_message}" patch_commit_message [[ -z "${patch_commit_message}" ]] && patch_commit_message="Patching something unknown and mysterious" run_host_command_logged git "${common_git_params[@]}" commit -s -m "'${patch_commit_message}'" run_host_command_logged git "${common_git_params[@]}" format-patch "${formatpatch_params[@]}" ">" "${patch}"