summaryrefslogtreecommitdiffstats
path: root/src/sudo.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-04-11 18:36:22 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-04-11 18:36:22 +0200
commit968b8fd059dc9528d295c1fc4aa362a810d04fde (patch)
treeaf6634f7336babd849d2bb723bc297ddfa0f51e7 /src/sudo.c
parent7d216e7bb4841c16e2b856a1d2d8a58c5844d439 (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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sudo.c b/src/sudo.c
index 0c55213..9162308 100644
--- a/src/sudo.c
+++ b/src/sudo.c
@@ -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)
{