summaryrefslogtreecommitdiffstats
path: root/src/ideviceinstaller.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ideviceinstaller.c')
-rw-r--r--src/ideviceinstaller.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ideviceinstaller.c b/src/ideviceinstaller.c
index cf424d9..ea91bd5 100644
--- a/src/ideviceinstaller.c
+++ b/src/ideviceinstaller.c
@@ -179,13 +179,13 @@ static void status_cb(plist_t command, plist_t status, void *unused)
instproxy_status_get_percent_complete(status, &percent);
if (last_status && (strcmp(last_status, status_name))) {
- printf("\r");
+ printf("\n");
}
if (percent >= 0) {
- printf("%s: %s (%d%%)\n", command_name, status_name, percent);
+ printf("\r%s: %s (%d%%)", command_name, status_name, percent);
} else {
- printf("%s: %s\n", command_name, status_name);
+ printf("\r%s: %s", command_name, status_name);
}
}
} else {