diff options
| -rw-r--r-- | src/ideviceinstaller.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ideviceinstaller.c b/src/ideviceinstaller.c index bb28407..2be92d3 100644 --- a/src/ideviceinstaller.c +++ b/src/ideviceinstaller.c | |||
| @@ -107,13 +107,13 @@ static void status_cb(const char *operation, plist_t status) | |||
| 107 | } | 107 | } |
| 108 | if (!nerror) { | 108 | if (!nerror) { |
| 109 | if (last_status && (strcmp(last_status, status_msg))) { | 109 | if (last_status && (strcmp(last_status, status_msg))) { |
| 110 | printf("\n"); | 110 | printf("\r"); |
| 111 | } | 111 | } |
| 112 | 112 | ||
| 113 | if (!npercent) { | 113 | if (!npercent) { |
| 114 | printf("%s - %s\n", operation, status_msg); | 114 | printf("%s - %s\n", operation, status_msg); |
| 115 | } else { | 115 | } else { |
| 116 | printf("%s - %s (%d%%)\r", operation, status_msg, percent); | 116 | printf("%s - %s (%d%%)\n", operation, status_msg, percent); |
| 117 | } | 117 | } |
| 118 | } else { | 118 | } else { |
| 119 | char *err_msg = NULL; | 119 | char *err_msg = NULL; |
