sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (ece35376414ad22a5b94569993504654aff85842)
- From: Jaka Kranjc <smgl AT lynxlynx.info>
- To: sm-commit AT lists.ibiblio.org
- Cc: treeve AT sourcemage.org
- Subject: Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (ece35376414ad22a5b94569993504654aff85842)
- Date: Mon, 13 Apr 2009 12:29:17 +0200
On Monday 13 of April 2009 11:39:39 Treeve Jelbert wrote:
> --- /dev/null
> +++ b/database/virtuoso/PREPARE
> @@ -0,0 +1,6 @@
> +# check for running server
> + (ps -A | grep virtuoso) &&
> + message ${PROBLEM_COLOR}please stop the virtuoso server and try again\
> + ${DEFAULT_COLOR} &&
> + return 1
> +
Wouldn't this always fail? If grep finds a match, the chain will continue and
return 1. If it doesn't find a match, the chain will break and the return
status will be implicitly 1 again.
btw, you can also use the -q option to grep to suppres its output.
LP
--
We cannot command nature except by obeying her. --Sir Francis Bacon
Have a sourcerous day! www.sourcemage.org
Attachment:
signature.asc
Description: This is a digitally signed message part.
-
[SM-Commit] GIT changes to master grimoire by Treeve Jelbert (ece35376414ad22a5b94569993504654aff85842),
Treeve Jelbert, 04/13/2009
-
Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (ece35376414ad22a5b94569993504654aff85842),
Jaka Kranjc, 04/13/2009
-
Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (ece35376414ad22a5b94569993504654aff85842),
Ethan Grammatikidis, 04/15/2009
- Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (ece35376414ad22a5b94569993504654aff85842), Andraž 'ruskie' Levstik, 04/16/2009
-
Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (ece35376414ad22a5b94569993504654aff85842),
Ethan Grammatikidis, 04/15/2009
- <Possible follow-up(s)>
-
[SM-Commit] GIT changes to master grimoire by Treeve Jelbert (ece35376414ad22a5b94569993504654aff85842),
Treeve Jelbert, 04/13/2009
- Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (ece35376414ad22a5b94569993504654aff85842), Ladislav Hagara, 04/13/2009
-
Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (ece35376414ad22a5b94569993504654aff85842),
Jaka Kranjc, 04/13/2009
Archive powered by MHonArc 2.6.24.