diff options
author | Christophe Grenier <[email protected]> | 2013-04-11 18:36:22 +0200 |
---|---|---|
committer | Christophe Grenier <[email protected]> | 2013-04-11 18:36:22 +0200 |
commit | 968b8fd059dc9528d295c1fc4aa362a810d04fde (patch) | |
tree | af6634f7336babd849d2bb723bc297ddfa0f51e7 /src/sudo.c | |
parent | 7d216e7bb4841c16e2b856a1d2d8a58c5844d439 (diff) |
If no disk is detected, the user isn't root and TestDisk/PhotoRec are compiled with sudo support, restart using sudo without asking first the user.
Diffstat (limited to 'src/sudo.c')
-rw-r--r-- | src/sudo.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -50,6 +50,7 @@ void run_sudo(int argc, char **argv) argv2[i+1]=NULL; printf("sudo may ask your user password, it doesn't ask for the root password.\n"); printf("Usually there is no echo or '*' displayed when you type your password.\n"); + printf("\n"); fflush(stdout); if(execv(argv2[0], argv2)<0) { |