ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] evms и скрипты
@ 2007-09-27  9:18 Alexey Borovskoy
  2007-10-04 15:18 ` Michael Shigorin
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Borovskoy @ 2007-09-27  9:18 UTC (permalink / raw)
  To: sysadmins

[-- Attachment #1: Type: text/plain, Size: 352 bytes --]

Добрый вечер.

А как получать из evms статус выполнения операции?

Типа так:

echo "чтото"|evms
echo $?

Всегда возвращает 0.

Или я неправильно его готовлю?

-- 
Алексей.
GPG key fingerprint
949B BC0E 2C44 7528 4F63  2753 E37A 9E3F 11F3 BDE1

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Sysadmins] evms и скрипты
  2007-09-27  9:18 [Sysadmins] evms и скрипты Alexey Borovskoy
@ 2007-10-04 15:18 ` Michael Shigorin
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Shigorin @ 2007-10-04 15:18 UTC (permalink / raw)
  To: sysadmins

On Thu, Sep 27, 2007 at 10:18:45PM +1300, Alexey Borovskoy wrote:
> А как получать из evms статус выполнения операции?
> Типа так:
> echo "чтото"|evms
> echo $?
> Всегда возвращает 0.
> Или я неправильно его готовлю?

Боюсь, парсить вывод или пользоваться libevms....

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/
 ----       Oct 26--27, Kiev, Ukraine:
--       http://conference.osdn.org.ua


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-04 15:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-27  9:18 [Sysadmins] evms и скрипты Alexey Borovskoy
2007-10-04 15:18 ` Michael Shigorin

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git