[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [lvm-devel] LVM2 ./WHATS_NEW lib/activate/fs.c



On Wed, Feb 08, 2012 at 10:43:43AM -0000, zkabelac sourceware org wrote:
> +	if ((r = lstat(lv_path, &buf)) && errno == ENOENT)

> +	if (r || !S_ISLNK(buf.st_mode)) {
>  		log_error("%s not symbolic link - not removing", lv_path);

So if you get, say ENOMEM, you'll tell the user "not symbolic link"?
Sigh.

Alasdair


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]