X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fremdir.c;fp=sbr%2Fremdir.c;h=397a6893c2a55ff345be6e6df3a81142b426fdb4;hp=4ce0b1458faca30c63ff83a3394eb707207c6327;hb=a485ed478abbd599d8c9aab48934e7a26733ecb1;hpb=f480c03187724e54e5391ee61b810827da319a6c diff --git a/sbr/remdir.c b/sbr/remdir.c index 4ce0b14..397a689 100644 --- a/sbr/remdir.c +++ b/sbr/remdir.c @@ -1,4 +1,3 @@ - /* * remdir.c -- remove a directory * @@ -13,12 +12,12 @@ int remdir (char *dir) { - context_save(); /* save the context file */ - fflush(stdout); + context_save(); /* save the context file */ + fflush(stdout); - if (rmdir(dir) == -1) { - admonish (dir, "unable to remove directory"); - return 0; - } - return 1; + if (rmdir(dir) == -1) { + admonish (dir, "unable to remove directory"); + return 0; + } + return 1; }