From b44476b5188fcf89e4b030d5c4bff1df78572df1 Mon Sep 17 00:00:00 2001 From: Paul Keith Date: Tue, 2 May 2017 14:00:06 -0500 Subject: [PATCH] extract-files: Error if path isn't specified * ADB shouldn't be an option * It's super annoying when you forget to use -p Change-Id: Ie2c8819b10377109b7c49e52f1cb25f4289be372 Signed-off-by: Paul Keith --- extract-files.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extract-files.sh b/extract-files.sh index 9098f31..99f1073 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -46,8 +46,8 @@ while [ "$1" != "" ]; do done if [ -z "$SRC" ]; then - echo "Warning, path to system dump not specified, pulling from adb" - SRC=adb + echo "Path to system dump not specified! Specify one with --path" + exit 1 fi if [ -z "$TARGET" ]; then