Displaying 20 results from an estimated 196 matches for "exitcod".
Did you mean:
exitcond
2017 Jun 26
2
Install locks up my server
...pying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.'
+ help='
Try `config.guess --help'\'' for more information.'
+ test 0 -gt 0
+ test 0 '!=' 0
+ trap 'exit 1' 1 2 15
+ set_cc_for_build='
trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp
2>/dev/null) && exit \$exitcode" 0 ;
trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2
13 15 ;
: ${TMPDIR=/tmp} ;
{ tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>...
2013 Aug 16
2
exit status of puppet agent --detailed-exitcodes
...lo group,
is there a way to make puppet NOT return 2 if only exec{ } and notify{ }
were called?
Background is as follows:
I''m calling puppet agent via cron on my hosts, and I want to get mails if
something changes.
For this, I used the exit code of "puppet agent
--test --detailed-exitcodes", which should be 2 then (or 4/6 on error).
Now, every stupid notify { } or exec{ } causes $? to be 2. Without notify I
could live, but
exec{ } (even with a failed precondition) also makes $?==2, and I need that.
Is there any way around this?
Thanks for any help,
Torsten
--
You receive...
2005 Apr 04
1
Always exitcode 256 under Cygwin with rsync 2.6.4
I've upgraded all my Windows servers with the new released cwRsync version, so
they're all running the latest rsync now. But this version seems to ignore
exitcodes, since my batchscript does not restart the job when a timeout
occurs. Before, rsync did set the errorlevel on exit, so my script knew what
to do then.
When you just give an empty rsync command, it should also exit with an exit
code (1). But the errorlevel gets set to no. 256 instead. That cou...
2019 May 24
4
[Bug 1340] New: nft -f rules.nft exitcode 1 when file too large
https://bugzilla.netfilter.org/show_bug.cgi?id=1340
Bug ID: 1340
Summary: nft -f rules.nft exitcode 1 when file too large
Product: nftables
Version: unspecified
Hardware: x86_64
OS: Gentoo
Status: NEW
Severity: major
Priority: P5
Component: nft
Assignee: pablo at netfilter.org
Reporter: l...
2012 Jul 31
2
Bad exit code?
.... I would expect, if it can''t create the pid file, that it would exit non-zero. However, it seems to exit zero. Is there any way to change this? I''d like to know if it couldn''t run, and it seems that this is an error.
[root@db1r1 ~]# puppet agent --onetime --detailed-exitcodes
[root@db1r1 ~]# puppet agent --onetime --detailed-exitcodes
Could not prepare for execution: Could not create PID file: /var/run/puppet/agent.pid
[root@db1r1 ~]# echo $?
0
Any thoughts?
-Stephanie
--
You received this message because you are subscribed to the Google Groups "Puppet Users&q...
2018 Jan 22
4
Trying to mount vmdk - kernel panic not syncing: Attempted to kill init! exitcode=0x00000100
2018 Jan 22
0
Re: Trying to mount vmdk - kernel panic not syncing: Attempted to kill init! exitcode=0x00000100
Here is Richard's W.M. Jones answer:
> This is caused by a bug in the way that supermin created symlinks
> which is not compatible with the new kernel:
>
> 291 l bzfgrep 120777 6 0:0 -> \x1c\v
>
> You need to upgrade to the new supermin which fixes this.
> https://www.redhat.com/archives/libguestfs/2017-July/msg00089.html
>
2018 Jan 23
0
Re: Trying to mount vmdk - kernel panic not syncing: Attempted to kill init! exitcode=0x00000100
2018-01-23 13:31 GMT+02:00 James Cook <james.cook@bluewin.ch>:
> libguestfs: trace: get_cachedir
> libguestfs: trace: get_cachedir = "/var/tmp"
> libguestfs: [00000ms] begin building supermin appliance
> libguestfs: [00000ms] run supermin
> libguestfs: command: run: /usr/bin/supermin
> libguestfs: command: run: \ --build
> libguestfs: command: run: \ --verbose
2019 Jan 16
0
[PATCH 2/5] mltools: create a new external_command_code
...ils.ml
@@ -338,7 +338,13 @@ let create_standard_options argspec ?anon_fun ?(key_opts = false) ?(machine_read
}
(* Run an external command, slurp up the output as a list of lines. *)
-let external_command ?(echo_cmd = true) cmd =
+let rec external_command ?(echo_cmd = true) cmd =
+ let lines, exitcode = external_command_code ~echo_cmd cmd in
+ if exitcode <> 0 then
+ error (f_"external command ā%sā exited with error %d") cmd exitcode;
+ lines
+
+and external_command_code ?(echo_cmd = true) cmd =
if echo_cmd then
debug "%s" cmd;
let chan = Unix.open_proc...
2017 Aug 18
0
Install locks up my server
...not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.'
> + help='
> Try `config.guess --help'\'' for more information.'
> + test 0 -gt 0
> + test 0 '!=' 0
> + trap 'exit 1' 1 2 15
> + set_cc_for_build='
> trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp
> 2>/dev/null) && exit \$exitcode" 0 ;
> trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1
> 2 13 15 ;
> : ${TMPDIR=/tmp} ;
> { tmp=`(umask 077 && mktemp -d "$TMPD...
2010 Aug 18
4
RE: [PATCH 05/15] Nested Virtualization: core
> +
> +/* The exitcode is in native SVM/VMX format. The forced exitcode
> + * is in generic format.
> + */
Introducing a 3rd format of exitcode is over-complicated IMO.
> +enum nestedhvm_vmexits
> +nestedhvm_vcpu_vmexit(struct vcpu *v, struct cpu_user_regs *regs,
> + uint64_t exitcode)
> +{
I doub...
2017 Aug 25
0
Install still locks up my server
...not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.'
> + help='
> Try `config.guess --help'\'' for more information.'
> + test 0 -gt 0
> + test 0 '!=' 0
> + trap 'exit 1' 1 2 15
> + set_cc_for_build='
> trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp
> 2>/dev/null) && exit \$exitcode" 0 ;
> trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1
> 2 13 15 ;
> : ${TMPDIR=/tmp} ;
> { tmp=`(umask 077 && mktemp -d "$TMPD...
2009 Apr 07
2
Running an R script from Delphi 7
Gentlepersons:
A long time ago I used to be able to start R (version 2.6.1) from a
Delphi 7 program and run a script by using a procedure like the following:
function StartRAndWait (CommandLine : string) : Boolean;
var
Proc_info: TProcessInformation;
Startinfo: TStartupInfo;
ExitCode: longword;
CreateOK : Boolean;
begin
Result := False;
{ Initialize the structures }
FillChar(proc_info, sizeof (TProcessInformation), #0);
FillChar(startinfo, sizeof (TStartupInfo), #0);
Startinfo.cb := sizeof (TStartupInfo);
Startinfo.dwFlags := STARTF_USESHOWWINDOW...
2018 Jan 23
3
Re: Trying to mount vmdk - kernel panic not syncing: Attempted to kill init! exitcode=0x00000100
2019 Jan 16
10
[PATCH 0/5] [RFC] builder: handle unavailable repos
...to better handle downloading
failures, and handle the failures gracefully in virt-builder.
RFC because I'm not yet too convinced the approach I used (especially
for the changes in the Curl module) is optimal, so looking for feedback
on this.
Pino Toscano (5):
mltools: split helper do_check_exitcode
mltools: create a new external_command_code
mltools: add simple tests for external_command
mltools: curl: turn Curl.run to raise exceptions
builder: ignore repositories with download failures
builder/builder.ml | 39 ++++++++++++++++++++---------
common/mltools/curl.ml...
2019 Jan 16
2
Re: [PATCH 2/5] mltools: create a new external_command_code
...t create_standard_options argspec ?anon_fun ?(key_opts = false) ?(machine_read
> }
>
> (* Run an external command, slurp up the output as a list of lines. *)
> -let external_command ?(echo_cmd = true) cmd =
> +let rec external_command ?(echo_cmd = true) cmd =
> + let lines, exitcode = external_command_code ~echo_cmd cmd in
> + if exitcode <> 0 then
> + error (f_"external command ā%sā exited with error %d") cmd exitcode;
> + lines
> +
> +and external_command_code ?(echo_cmd = true) cmd =
> if echo_cmd then
> debug "%s"...
2007 Nov 08
3
[LLVMdev] Newbie JITter
...2()* \n"
" ; Convert [19 x i8 ]* to i8 *...\n"
" %cast210 = getelementptr [19 x i8]* @.LC0, i64 0, i64 0 ; i8
*\n"
" call i32 @puts(i8 * %cast210) ;
i32\n"
" ret i32 0\n"
"};\n";
int exitCode = 0;
try {
ParseError ParseErr;
Module* M = ParseAssemblyString(assembler, new Module("test"),
&ParseErr);
if (!M) {
cerr << "parse error: " << ParseErr.getMessage() << "\n";
return 1;
}
std::cout << "\nWe just co...
2017 Jun 26
2
Install locks up my server
Ever since 2.26 I haven't been able to upgrade. In fact the install
locks up my server.
I get into and infinite recursive loop where the config-guess program
calls itself until the server locks up from overload.
I'm running Centos 6 under OpenVZ.
What am I missing? I think there's a serious bug.
31233 pts/3 S 0:00 /bin/sh ./config.guess
31235 pts/3 S 0:00 \_
2017 Feb 14
0
[PATCH v2 1/2] GCC 7: Add __attribute__((noreturn)) to some usage functions which call exit.
...5 100644
--- a/utils/boot-analysis/boot-analysis.c
+++ b/utils/boot-analysis/boot-analysis.c
@@ -88,7 +88,7 @@ static void print_longest_to_shortest (void);
static void free_pass_data (void);
static void free_final_timeline (void);
-static void
+static void __attribute__((noreturn))
usage (int exitcode)
{
guestfs_h *g;
diff --git a/utils/boot-benchmark/boot-benchmark.c b/utils/boot-benchmark/boot-benchmark.c
index 73da722..4af3943 100644
--- a/utils/boot-benchmark/boot-benchmark.c
+++ b/utils/boot-benchmark/boot-benchmark.c
@@ -51,7 +51,7 @@ static void run_test (void);
static guestfs_h *cr...
2016 Apr 15
1
[PATCH 1/2] valgrind: Use --trace-children=no --child-silent-after-fork=yes
...dnl Check for valgrind
AC_CHECK_PROG([VALGRIND],[valgrind],[valgrind],[no])
AS_IF([test "x$VALGRIND" != "xno"],[
# Substitute the whole valgrind command.
- VG='$(VALGRIND) --vgdb=no --log-file=$(abs_top_builddir)/tmp/valgrind-%q{T}-%p.log --leak-check=full --error-exitcode=119 --suppressions=$(abs_top_srcdir)/valgrind-suppressions'
+ VG='$(VALGRIND) --vgdb=no --log-file=$(abs_top_builddir)/tmp/valgrind-%q{T}-%p.log --leak-check=full --error-exitcode=119 --suppressions=$(abs_top_srcdir)/valgrind-suppressions --trace-children=no --child-silent-after-fork=ye...