summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2015-10-27 11:17:25 +0100
committerErich Eckner <git@eckner.net>2015-10-27 11:17:25 +0100
commit9388cfc20bdd06fedc277afb473bb99e636979f1 (patch)
treeba99fe199e88d368d17f14e362f3cc2da98fd0ca
parentac46c15719ed56a9a9c0e48a8ece4b5b927e8bb0 (diff)
downloadunits-9388cfc20bdd06fedc277afb473bb99e636979f1.tar.xz
Meldung bei nicht erfolgreichem fpExecVe in gitupdateunit.pas
-rw-r--r--gitupdateunit.pas4
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;