From 3189f5d5f56c38e7daa24fcb8ec2d0c858f1acc9 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Mon, 9 Feb 2004 18:16:29 +0000 Subject: exit if user cancels "save file" --- urpmi | 1 + 1 file changed, 1 insertion(+) diff --git a/urpmi b/urpmi index 88507f35..6419a793 100755 --- a/urpmi +++ b/urpmi @@ -277,6 +277,7 @@ What would you like to do?", $src_files[0]), if (!$? && $msg) { exec 'mv', '-f', $src_files[0], $location; } + exit(1); } } -- cgit v1.2.1