From d789b34160ea9112924b39ca561cfb5c9e2d98af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Hertzog?= Date: Thu, 13 Feb 2020 15:40:01 +0100 Subject: [PATCH] Drop the -f option in the mv call It hides the error message when the file is missing. And even without -f, by default, there's no prompt about overwriting files. --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index f21863e..84a22ca 100755 --- a/build.sh +++ b/build.sh @@ -271,5 +271,5 @@ case "$IMAGE_TYPE" in esac set -e -mv -f $IMAGE_NAME $TARGET_DIR/$(target_image_name $KALI_ARCH) -mv -f $BUILD_LOG $TARGET_DIR/$(target_build_log $KALI_ARCH) +mv $IMAGE_NAME $TARGET_DIR/$(target_image_name $KALI_ARCH) +mv $BUILD_LOG $TARGET_DIR/$(target_build_log $KALI_ARCH)