aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc/win32/Install.c
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2011-06-08 11:34:06 +0200
committerSiri Hansen <[email protected]>2011-06-15 10:17:51 +0200
commite751eb8d6e8fd5945d4a14ebbc10b9cd858521e1 (patch)
tree2fa5adf4a6e3eb0dad168c9456488ca3b7342615 /erts/etc/win32/Install.c
parent4a5a75811e2cd590b5c94f71864a5245fd511ccf (diff)
downloadotp-e751eb8d6e8fd5945d4a14ebbc10b9cd858521e1.tar.gz
otp-e751eb8d6e8fd5945d4a14ebbc10b9cd858521e1.tar.bz2
otp-e751eb8d6e8fd5945d4a14ebbc10b9cd858521e1.zip
Make release_handler work with windows services
This commit adds test cases from release_handler_SUITE on windows, including some corrections in erlsrv and release_handler.
Diffstat (limited to 'erts/etc/win32/Install.c')
-rw-r--r--erts/etc/win32/Install.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/erts/etc/win32/Install.c b/erts/etc/win32/Install.c
index 6e60512f6d..d680b67dd6 100644
--- a/erts/etc/win32/Install.c
+++ b/erts/etc/win32/Install.c
@@ -1,7 +1,7 @@
/*
* %CopyrightBegin%
*
- * Copyright Ericsson AB 2003-2010. All Rights Reserved.
+ * Copyright Ericsson AB 2003-2011. All Rights Reserved.
*
* The contents of this file are subject to the Erlang Public License,
* Version 1.1, (the "License"); you may not use this file except in
@@ -213,6 +213,9 @@ int main(int argc, char **argv)
fprintf(stderr,"Cannot continue installation, bailing out.\n");
exit(1);
}
+
+ /* OBS!!! If the format of the init file is changed, do not forget
+ to update release_handler:write_ini_file(...) */
ini_file = create_init_file();
ini_section = create_init_section("erlang");
add_init_section(ini_file,ini_section);