]> sourceware.org Git - lvm2.git/log
lvm2.git
7 years agotests: use bash
Zdenek Kabelac [Sun, 2 Jul 2017 19:38:32 +0000 (21:38 +0200)]
tests: use bash

7 years agotests: double quote
Zdenek Kabelac [Mon, 10 Jul 2017 08:40:09 +0000 (10:40 +0200)]
tests: double quote

7 years agotests: correcting usage of '==' in bash
Zdenek Kabelac [Sun, 2 Jul 2017 18:25:20 +0000 (20:25 +0200)]
tests: correcting usage of '==' in bash

7 years agotests: utils.sh assign directly
Zdenek Kabelac [Sun, 9 Jul 2017 11:38:37 +0000 (13:38 +0200)]
tests: utils.sh assign directly

Assign properly quoted vars in eval directly.

7 years agotests: get.sh use simplier tr
Zdenek Kabelac [Mon, 10 Jul 2017 09:56:38 +0000 (11:56 +0200)]
tests: get.sh use simplier tr

7 years agotests: aux.sh check for already present config
Zdenek Kabelac [Fri, 7 Jul 2017 21:03:08 +0000 (23:03 +0200)]
tests: aux.sh check for already present config

'aux lvmconf' detects if new config needs to be regenerated.

7 years agotests: aux.sh double quote
Zdenek Kabelac [Thu, 6 Jul 2017 21:58:28 +0000 (23:58 +0200)]
tests: aux.sh double quote

7 years agotests: aux.sh replace sed call
Zdenek Kabelac [Thu, 6 Jul 2017 17:11:46 +0000 (19:11 +0200)]
tests: aux.sh replace sed call

Use internal shell vars manips

7 years agotests: aux.sh use grep -E
Zdenek Kabelac [Sat, 1 Jul 2017 07:41:14 +0000 (09:41 +0200)]
tests: aux.sh use grep -E

egrep is nonstandard.

7 years agotests: aux.sh drop useless echo
Zdenek Kabelac [Sat, 1 Jul 2017 07:28:06 +0000 (09:28 +0200)]
tests: aux.sh drop useless echo

Simply trim on space.

7 years agotests: aux.sh check cd result
Zdenek Kabelac [Sat, 1 Jul 2017 07:27:19 +0000 (09:27 +0200)]
tests: aux.sh check cd result

Use 'cd ... || exit' or 'cd ... || return' in case cd fails.

7 years agotests: export many shell vars with 1 command
Zdenek Kabelac [Mon, 10 Jul 2017 11:33:55 +0000 (13:33 +0200)]
tests: export many shell vars with 1 command

7 years agoudev: also create /dev/disk/by-part{label,uuid} and gpt-auto-root symlinks
Peter Rajnoha [Mon, 10 Jul 2017 10:35:53 +0000 (12:35 +0200)]
udev: also create /dev/disk/by-part{label,uuid} and gpt-auto-root symlinks

The blkid we call in 13-dm-disk.rules also returns identifiers for
partitions based on which the /dev/disk/by-part{uuid,label} and
gpt-auto-root symlinks should be created in the same manner as we
already create symlinks for filesystem labels and uuids.

This is because we handle blkid calls and symlink creation under
/dev/disk ourselves in our 13-dm-disk.rules for device-mapper devices
for us to have more control over this process.

See also https://lists.freedesktop.org/archives/systemd-devel/2017-July/039220.html
and original report http://tracker.ceph.com/issues/19489 for
the exact case where these symlinks were missing.

7 years agocommands: fix handing of ENO_SUCH_CMD in script
David Teigland [Mon, 8 May 2017 15:50:27 +0000 (10:50 -0500)]
commands: fix handing of ENO_SUCH_CMD in script

Fix the error messages when an unrecognized command is
run from a script.  We shouldn't attempt to parse options
for an unrecognized command name, which causes misleading
errors about bad options, but rather exit right when we
know the command name is not valid.  Also don't complain
about exiting without an error message when running a
script if no command didn't exist.

7 years agocommands: centralize shell vs script vs command decision
David Teigland [Mon, 8 May 2017 15:31:30 +0000 (10:31 -0500)]
commands: centralize shell vs script vs command decision

This clarifies the point where lvm decides if it is
running an lvm shell, command or a script.

7 years agolvmlockd: use DM_UUID_LEN for buffer size
David Teigland [Fri, 7 Jul 2017 19:58:35 +0000 (14:58 -0500)]
lvmlockd: use DM_UUID_LEN for buffer size

7 years agolvmlockd: miss adopt orphaned resources
Huan Zhang [Fri, 7 Jul 2017 19:53:16 +0000 (14:53 -0500)]
lvmlockd: miss adopt orphaned resources

1. dm_uuid is 68 byte length, but buf is 64 which
   will cause miss match uuid from lv lock manager
2. no lv lock_type path in dm config, use lock_args instead

Signed-off-by: Zhang Huan <zhanghuan@chinac.com>
7 years agolvmlockd: fix revert in lvcreate
David Teigland [Fri, 7 Jul 2017 19:42:25 +0000 (14:42 -0500)]
lvmlockd: fix revert in lvcreate

If the activation step in lvcreate fails (e.g. the specified
minor number is already used), then the lvcreate is reverted,
but the LV lock in lvmlockd was not being unlocked or properly
freed.

7 years agolvmlockd: use lock on thin pool when command names tdata
David Teigland [Fri, 7 Jul 2017 17:06:53 +0000 (12:06 -0500)]
lvmlockd: use lock on thin pool when command names tdata

Some lvconvert commands can be used directly on the data sublv:
lvconvert ... vg/pool_tdata

The correct LV lock to use in lvmlockd is the one on the pool LV.

7 years agolvmetad: Suppress accept error on clean shutdown
Alasdair G Kergon [Thu, 6 Jul 2017 13:53:10 +0000 (14:53 +0100)]
lvmetad: Suppress accept error on clean shutdown

Also fix error message after pthread_create() error in handle_connect().

7 years agotest: return 0 if ignoring 'a' device health chars is requested
Heinz Mauelshagen [Tue, 4 Jul 2017 17:34:10 +0000 (19:34 +0200)]
test: return 0 if ignoring 'a' device health chars is requested

This allows lvconvert-raid-reshape-striped_to_linear.sh to succeed when
it reduces raid5 to two stripes before converting to raid1 and linear.

7 years agoclvmd: Fix client list corruption
Alasdair G Kergon [Sat, 1 Jul 2017 00:34:38 +0000 (01:34 +0100)]
clvmd: Fix client list corruption

Centralise editing of the client list into _add_client() and
_del_client().  Introduce _local_client_count to track the size of the
list for debugging purposes.  Simplify and standardise the various ways
the list gets walked.

While processing one element of the list in main_loop(),
cleanup_zombie() may be called and remove a different element, so make
sure main_loop() refreshes its list state on return.  Prior to this
patch, the list edits for clients disappearing could race against the
list edits for new clients connecting and corrupt the list and cause a
variety of segfaults.

An easy way to trigger such failures was by repeatedly running shell
commands such as:
  lvs &; lvs &; lvs &;...;killall -9 lvs; lvs &; lvs &;...

Situations that occasionally lead to the failures can be spotted by
looking for 'EOF' with 'inprogress=1' in the clvmd debug logs.

7 years agoclvmd: add client id to debug log messages
Alasdair G Kergon [Sat, 1 Jul 2017 00:17:40 +0000 (01:17 +0100)]
clvmd: add client id to debug log messages

Use standard format to make it easier to find the client to which each
debug log message refers.

7 years agoclvmd: add debuglog mutex
Alasdair G Kergon [Fri, 30 Jun 2017 23:58:39 +0000 (00:58 +0100)]
clvmd: add debuglog mutex

Log messages issued by different threads occasionally got intertwined.

7 years agotests: aux.sh fix pattern
Zdenek Kabelac [Fri, 30 Jun 2017 19:09:29 +0000 (21:09 +0200)]
tests: aux.sh fix pattern

Commit 72a58ce4b0f68f6e45ae30606fe5af21caa42b43 fixed 'translation' of
pattern by bash by using "" - so we need to drop '\' here to get
wanted behavior.

7 years agocoverity: just make impossible division by zero
Zdenek Kabelac [Fri, 30 Jun 2017 17:44:06 +0000 (19:44 +0200)]
coverity: just make impossible division by zero

Visible for analyzer  code will not try to use 0 for division.

7 years agoman_generator: release buffer after use
Zdenek Kabelac [Fri, 30 Jun 2017 17:36:24 +0000 (19:36 +0200)]
man_generator: release buffer after use

Although ATM this code has no memory management at all,
it will not make any harm to release some memory,
when it's not needed anymore.

7 years agoraid: ensure enum is defined
Zdenek Kabelac [Fri, 30 Jun 2017 17:34:52 +0000 (19:34 +0200)]
raid: ensure enum is defined

Just making sure enum is always defined.

TODO: code path using this enum needs closer inspection.

7 years agotests: aux.sh use subshell for simple redirection
Zdenek Kabelac [Fri, 30 Jun 2017 12:35:42 +0000 (14:35 +0200)]
tests: aux.sh use subshell for simple redirection

7 years agotests: correcting globbing usage
Zdenek Kabelac [Fri, 30 Jun 2017 12:28:44 +0000 (14:28 +0200)]
tests: correcting  globbing usage

Ensure globbing uses current dir.
Break loop when no match is found.
Let STACKTRACE finish its output when gdb fails.

7 years agotests: aux prepares lvmdbusd
Zdenek Kabelac [Fri, 30 Jun 2017 10:07:30 +0000 (12:07 +0200)]
tests: aux prepares lvmdbusd

Correctly skip the test when lvmdbusd is found already running.
For pgrep usage we need to add '-f -l' options to get python3 name
printed.
Remove no longer used 'pids' local var.

7 years agotests: aux do not specify bitmap for raid0
Zdenek Kabelac [Fri, 30 Jun 2017 09:45:07 +0000 (11:45 +0200)]
tests: aux do not specify bitmap for raid0

7 years agotests: check LV in proper VG
Zdenek Kabelac [Fri, 30 Jun 2017 09:30:57 +0000 (11:30 +0200)]
tests: check LV in proper VG

7 years agotests: check.sh uses array for list
Zdenek Kabelac [Fri, 30 Jun 2017 09:06:19 +0000 (11:06 +0200)]
tests: check.sh uses array for list

For properly quoted args, switch to use arrays for arg list.

7 years agotests: api updates
Zdenek Kabelac [Thu, 29 Jun 2017 19:51:26 +0000 (21:51 +0200)]
tests: api updates

7 years agotests: get.sh declare and assign separately
Zdenek Kabelac [Thu, 29 Jun 2017 08:26:28 +0000 (10:26 +0200)]
tests: get.sh declare and assign separately

Declare and assign separately to avoid masking return values.

Also comment-out currently unused  orig variable.

7 years agotests: get.sh double quote
Zdenek Kabelac [Thu, 29 Jun 2017 08:27:56 +0000 (10:27 +0200)]
tests: get.sh double quote

7 years agotests: utils.sh separately assign
Zdenek Kabelac [Thu, 29 Jun 2017 19:22:52 +0000 (21:22 +0200)]
tests: utils.sh separately assign

Declare and assign separately to avoid masking return values.

7 years agotests: utils.sh avoid iterating over ls output
Zdenek Kabelac [Thu, 29 Jun 2017 19:22:23 +0000 (21:22 +0200)]
tests: utils.sh avoid iterating over ls output

7 years agotests: utils.sh arithmetic
Zdenek Kabelac [Thu, 29 Jun 2017 08:19:32 +0000 (10:19 +0200)]
tests: utils.sh arithmetic

expr is antiquated. Consider rewriting this using $((..)), ${} or [[ ]].
$ is unnecessary on arithmetic variables.

7 years agotests: utils.sh no mixed string array
Zdenek Kabelac [Thu, 29 Jun 2017 08:14:59 +0000 (10:14 +0200)]
tests: utils.sh no mixed string array

Argument mixes string and array. Use * or separate argument.

7 years agotests: utils.sh double quote
Zdenek Kabelac [Thu, 29 Jun 2017 08:12:21 +0000 (10:12 +0200)]
tests: utils.sh double quote

7 years agotests: lvm-wrapper.sh legacy syntax
Zdenek Kabelac [Thu, 29 Jun 2017 08:02:36 +0000 (10:02 +0200)]
tests: lvm-wrapper.sh legacy syntax

7 years agotests: lvm-wrapper.sh double quote
Zdenek Kabelac [Thu, 29 Jun 2017 08:01:49 +0000 (10:01 +0200)]
tests: lvm-wrapper.sh double quote

7 years agotests: inittest.sh double quote and mixing string
Zdenek Kabelac [Thu, 29 Jun 2017 08:38:06 +0000 (10:38 +0200)]
tests: inittest.sh  double quote and mixing string

7 years agotests: check.sh eliminate useless cat
Zdenek Kabelac [Thu, 29 Jun 2017 09:56:47 +0000 (11:56 +0200)]
tests: check.sh eliminate useless cat

Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.

7 years agotests: check.sh better if
Zdenek Kabelac [Thu, 29 Jun 2017 07:40:01 +0000 (09:40 +0200)]
tests: check.sh better if

Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.

7 years agotests: check.sh drop unnecessary $
Zdenek Kabelac [Thu, 29 Jun 2017 07:37:20 +0000 (09:37 +0200)]
tests: check.sh drop unnecessary $

$/${} is unnecessary on arithmetic variables.

7 years agotests: check.sh using grep -F
Zdenek Kabelac [Thu, 29 Jun 2017 06:41:43 +0000 (08:41 +0200)]
tests: check.sh using grep -F

fgrep is non-standard and deprecated. Use grep -F instead.

7 years agotests: check.sh no mixing string
Zdenek Kabelac [Thu, 29 Jun 2017 06:40:55 +0000 (08:40 +0200)]
tests: check.sh no mixing string

Argument mixes string and array. Use * or separate argument.

7 years agotests: check.sh assign separately
Zdenek Kabelac [Thu, 29 Jun 2017 06:39:21 +0000 (08:39 +0200)]
tests: check.sh assign separately

Declare and assign separately to avoid masking return values.

7 years agotests: check.sh double quote
Zdenek Kabelac [Thu, 29 Jun 2017 06:23:23 +0000 (08:23 +0200)]
tests: check.sh double quote

7 years agotests: aux.sh fix pid handling
Zdenek Kabelac [Thu, 29 Jun 2017 19:00:17 +0000 (21:00 +0200)]
tests: aux.sh fix pid handling

Modification of pids is local (to subshell caused by pipeline).
pids was modified in a subshell. That change might be lost.

7 years agotests: aux.sh add -r to read
Zdenek Kabelac [Thu, 29 Jun 2017 18:50:06 +0000 (20:50 +0200)]
tests: aux.sh add -r to read

7 years agotests: aux.sh array assing
Zdenek Kabelac [Thu, 29 Jun 2017 18:45:46 +0000 (20:45 +0200)]
tests: aux.sh array assing

Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.

7 years agotests: aux.sh separately assign
Zdenek Kabelac [Thu, 29 Jun 2017 10:07:34 +0000 (12:07 +0200)]
tests: aux.sh separately assign

Declare and assign separately to avoid masking return values.

7 years agotests: aux.sh using grep -c
Zdenek Kabelac [Thu, 29 Jun 2017 05:59:11 +0000 (07:59 +0200)]
tests: aux.sh using grep -c

Consider using grep -c instead of grep|wc -l.

7 years agotests: aux.sh no mixing string
Zdenek Kabelac [Thu, 29 Jun 2017 05:57:59 +0000 (07:57 +0200)]
tests: aux.sh no mixing string

Argument mixes string and array. Use * or separate argument.

7 years agotests: aux.sh drop unnecessary $
Zdenek Kabelac [Wed, 28 Jun 2017 22:17:59 +0000 (00:17 +0200)]
tests: aux.sh drop unnecessary $

$/${} is unnecessary on arithmetic variables.

7 years agotests: aux.sh use pgrep
Zdenek Kabelac [Wed, 28 Jun 2017 22:04:47 +0000 (00:04 +0200)]
tests: aux.sh use pgrep

7 years agotests: aux.sh double quote
Zdenek Kabelac [Wed, 28 Jun 2017 22:02:19 +0000 (00:02 +0200)]
tests: aux.sh double quote

7 years agoclvmd_fix_conf.sh: double quote
Zdenek Kabelac [Thu, 29 Jun 2017 20:07:49 +0000 (22:07 +0200)]
clvmd_fix_conf.sh: double quote

7 years agoclvmd_fix_conf.sh: legacy code
Zdenek Kabelac [Thu, 29 Jun 2017 20:03:00 +0000 (22:03 +0200)]
clvmd_fix_conf.sh: legacy code

Use $(..) instead of legacy `..`.

7 years agovgimportclone.sh: do not quote regex
Zdenek Kabelac [Thu, 29 Jun 2017 16:54:26 +0000 (18:54 +0200)]
vgimportclone.sh: do not quote regex

Don't quote rhs of =~, it'll match literally rather than as a regex.

7 years agovgimportclone.sh: use well defined tests
Zdenek Kabelac [Wed, 28 Jun 2017 18:35:34 +0000 (20:35 +0200)]
vgimportclone.sh: use well defined tests

Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.

7 years agovgimportclone.sh: drop extra $
Zdenek Kabelac [Wed, 28 Jun 2017 18:31:09 +0000 (20:31 +0200)]
vgimportclone.sh: drop extra $

$/${} is unnecessary on arithmetic variables.

7 years agovgimportclone.sh: add -r to read
Zdenek Kabelac [Wed, 28 Jun 2017 18:26:23 +0000 (20:26 +0200)]
vgimportclone.sh: add -r to read

read without -r will mangle backslashes.

7 years agovgimportclone.sh: avoid legacy syntax
Zdenek Kabelac [Wed, 28 Jun 2017 18:20:15 +0000 (20:20 +0200)]
vgimportclone.sh: avoid legacy syntax

Use $(..) instead of legacy `..`.

7 years agovgimportclone.sh: cannot trap signal 9
Zdenek Kabelac [Wed, 28 Jun 2017 18:06:59 +0000 (20:06 +0200)]
vgimportclone.sh: cannot trap signal 9

7 years agovgimportclone.sh: double quote
Zdenek Kabelac [Wed, 28 Jun 2017 18:05:42 +0000 (20:05 +0200)]
vgimportclone.sh: double quote

7 years agovgimportclone.sh: no mixing string and array
Zdenek Kabelac [Wed, 28 Jun 2017 17:40:34 +0000 (19:40 +0200)]
vgimportclone.sh: no mixing string and array

Argument mixes string and array. Use * or separate argument.

7 years agolvm2_cluster_activation_red_hat.sh: double quote
Zdenek Kabelac [Thu, 29 Jun 2017 20:12:23 +0000 (22:12 +0200)]
lvm2_cluster_activation_red_hat.sh: double quote

7 years agolvmconf_lockingtype2: double quote
Zdenek Kabelac [Wed, 28 Jun 2017 19:13:52 +0000 (21:13 +0200)]
lvmconf_lockingtype2: double quote

7 years agolvmconf_lockingtype2: preferable syntax
Zdenek Kabelac [Wed, 28 Jun 2017 19:09:52 +0000 (21:09 +0200)]
lvmconf_lockingtype2: preferable syntax

Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.

7 years agolvmdump: replace individual redirects
Zdenek Kabelac [Thu, 29 Jun 2017 14:21:19 +0000 (16:21 +0200)]
lvmdump: replace individual redirects

Consider using { cmd1; cmd2; } >> file instead of individual redirects.

7 years agolvmdump: drop useless cat
Zdenek Kabelac [Wed, 28 Jun 2017 19:02:23 +0000 (21:02 +0200)]
lvmdump: drop useless cat

Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.

7 years agolvmdump: legacy syntax
Zdenek Kabelac [Wed, 28 Jun 2017 19:00:48 +0000 (21:00 +0200)]
lvmdump: legacy syntax

Use $(..) instead of legacy `..`.

7 years agolvmdump: drop extra $
Zdenek Kabelac [Wed, 28 Jun 2017 18:56:17 +0000 (20:56 +0200)]
lvmdump: drop extra $

$/${} is unnecessary on arithmetic variables.

7 years agolvmdump: replace printf
Zdenek Kabelac [Wed, 28 Jun 2017 18:54:00 +0000 (20:54 +0200)]
lvmdump: replace printf

Don't use variables in the printf format string. Use printf "..%s.." "$foo".
Advice replaced with plain 'echo'.

7 years agolvmdump: double quote
Zdenek Kabelac [Wed, 28 Jun 2017 18:48:19 +0000 (20:48 +0200)]
lvmdump: double quote

Double quote to prevent globbing and word splitting.

7 years agolvmconf: prefer well defined and
Zdenek Kabelac [Wed, 28 Jun 2017 17:25:41 +0000 (19:25 +0200)]
lvmconf: prefer well defined and

Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.

7 years agolvmconf: double quote
Zdenek Kabelac [Wed, 28 Jun 2017 15:22:08 +0000 (17:22 +0200)]
lvmconf: double quote

7 years agolvmconf: fix test for setting external locking type
Zdenek Kabelac [Wed, 28 Jun 2017 15:22:22 +0000 (17:22 +0200)]
lvmconf: fix test for setting external locking type

Fix test for check of set locking lib dir.

7 years agoblkdeactivate: quote literal
Zdenek Kabelac [Thu, 29 Jun 2017 16:47:28 +0000 (18:47 +0200)]
blkdeactivate: quote literal

This { is literal. Check expression (missing ;/\n?) or quote it.

7 years agoblkdeactivate: more readable if-then-else-fi
Zdenek Kabelac [Wed, 28 Jun 2017 14:55:38 +0000 (16:55 +0200)]
blkdeactivate: more readable if-then-else-fi

7 years agoblkdeactivate: split local declaration and assign
Zdenek Kabelac [Wed, 28 Jun 2017 14:50:34 +0000 (16:50 +0200)]
blkdeactivate: split local declaration and assign

7 years agoblkdeactivate: drop unused var
Zdenek Kabelac [Wed, 28 Jun 2017 17:36:49 +0000 (19:36 +0200)]
blkdeactivate: drop unused var

7 years agoblkdeactivate: double quote
Zdenek Kabelac [Wed, 28 Jun 2017 14:33:00 +0000 (16:33 +0200)]
blkdeactivate: double quote

Using double quote to prevent globbing and word splitting.

7 years agoblkdeactivate: replace obsoleted syntax
Zdenek Kabelac [Wed, 28 Jun 2017 14:15:36 +0000 (16:15 +0200)]
blkdeactivate: replace obsoleted syntax

7 years agofsadm: make if statement more clear
Zdenek Kabelac [Wed, 28 Jun 2017 14:13:29 +0000 (16:13 +0200)]
fsadm: make if statement more clear

7 years agofsadm: add -r to read
Zdenek Kabelac [Wed, 28 Jun 2017 14:07:33 +0000 (16:07 +0200)]
fsadm: add -r to read

read without -r will mangle backslashes

7 years agofsadm: no mixing string and array
Zdenek Kabelac [Thu, 29 Jun 2017 14:01:42 +0000 (16:01 +0200)]
fsadm: no mixing string and array

Argument mixes string and array. Use * or separate argument.

7 years agofsadm: split local var dev
Zdenek Kabelac [Wed, 28 Jun 2017 14:02:13 +0000 (16:02 +0200)]
fsadm: split local var dev

Split defining of local variables from being them
assigned at the same time (lossing error code).

7 years agofsadm: remove surrounding $()
Zdenek Kabelac [Thu, 29 Jun 2017 14:04:19 +0000 (16:04 +0200)]
fsadm: remove surrounding $()

Remove surrounding $() to avoid executing output

7 years agofsadm: fix shell globbing
Zdenek Kabelac [Thu, 29 Jun 2017 11:15:47 +0000 (13:15 +0200)]
fsadm: fix shell globbing

Fixing reported issue for shellcheck.
Use "" properly to avoid having shell variables split.

7 years agopost-release
Alasdair G Kergon [Wed, 28 Jun 2017 16:00:49 +0000 (17:00 +0100)]
post-release

7 years agopre-release v2_02_172
Alasdair G Kergon [Wed, 28 Jun 2017 15:38:46 +0000 (16:38 +0100)]
pre-release

7 years agocommand: we don't have all standard macros
Zdenek Kabelac [Wed, 28 Jun 2017 13:05:16 +0000 (15:05 +0200)]
command: we don't have all standard macros

So just quite warning

7 years agocoverity: checked_return of close
Zdenek Kabelac [Wed, 28 Jun 2017 12:40:35 +0000 (14:40 +0200)]
coverity: checked_return of close

Check (or make quiet) close() ret code.
NOTE: there is another duplicated code of daemonize function which
should be converted to libdaemon.

7 years agoman: regenerate
Alasdair G Kergon [Tue, 27 Jun 2017 14:47:00 +0000 (15:47 +0100)]
man: regenerate

This page took 0.206636 seconds and 5 git commands to generate.