diff options
-rw-r--r-- | gitupdateunit.pas | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gitupdateunit.pas b/gitupdateunit.pas index fde217a..074d3b2 100644 --- a/gitupdateunit.pas +++ b/gitupdateunit.pas @@ -68,8 +68,10 @@ initialization setlength(args,2); args[0]:='-rf'; args[1]:=tmpDir; - if runCommand('/usr/bin/rm',args,output) then + if runCommand('/usr/bin/rm',args,output) then begin fpExecVe(paramstr(0),argv,envp); + raise exception.create('Fehler beim Ersetzen der Executable!'); + end; end; end; end; |