فهرست منبع

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 <[email protected]>
Paul Keith 7 سال پیش
والد
کامیت
b44476b518
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      extract-files.sh

+ 2 - 2
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