summaryrefslogtreecommitdiffstats
path: root/twrp.cpp
diff options
context:
space:
mode:
authorthat <github@that.at>2015-01-03 01:59:36 +0100
committerEthan Yonker <dees_troy@teamw.in>2015-01-04 05:34:48 +0100
commitcc8ddca9bd78913ed50ef8cbd6a2d2c095823f1a (patch)
tree1d3407ab420097065a7b91d9ab77c05025866ff9 /twrp.cpp
parentFix GUIAction::operation_start (diff)
downloadandroid_bootable_recovery-cc8ddca9bd78913ed50ef8cbd6a2d2c095823f1a.tar
android_bootable_recovery-cc8ddca9bd78913ed50ef8cbd6a2d2c095823f1a.tar.gz
android_bootable_recovery-cc8ddca9bd78913ed50ef8cbd6a2d2c095823f1a.tar.bz2
android_bootable_recovery-cc8ddca9bd78913ed50ef8cbd6a2d2c095823f1a.tar.lz
android_bootable_recovery-cc8ddca9bd78913ed50ef8cbd6a2d2c095823f1a.tar.xz
android_bootable_recovery-cc8ddca9bd78913ed50ef8cbd6a2d2c095823f1a.tar.zst
android_bootable_recovery-cc8ddca9bd78913ed50ef8cbd6a2d2c095823f1a.zip
Diffstat (limited to 'twrp.cpp')
-rw-r--r--twrp.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/twrp.cpp b/twrp.cpp
index e0b335975..35404c34d 100644
--- a/twrp.cpp
+++ b/twrp.cpp
@@ -77,6 +77,7 @@ int main(int argc, char **argv) {
// Handle ADB sideload
if (argc == 3 && strcmp(argv[1], "--adbd") == 0) {
+ property_set("ctl.stop", "adbd");
adb_main(argv[2]);
return 0;
}
@@ -95,7 +96,7 @@ int main(int argc, char **argv) {
property_set("ro.twrp.version", TW_VERSION_STR);
time_t StartupTime = time(NULL);
- printf("Starting TWRP %s on %s (pid %d)", TW_VERSION_STR, ctime(&StartupTime), getpid());
+ printf("Starting TWRP %s on %s (pid %d)\n", TW_VERSION_STR, ctime(&StartupTime), getpid());
// Load default values to set DataManager constants and handle ifdefs
DataManager::SetDefaultValues();