Package: fai-server
Version: 3.2.14
Severity: normal
Tags: patch

Hi,

Accessing the FAI config space through Git fails since cloning into an
existing directory is not allowed (see git-clone(1)).

The attached patch fixes this issue by simply removing the directory
before calling "git clone". By using rmdir(1) no other data which might
(for whatever reason) exist in $FAI will be lost - in that case the
admin will have to take care of the issue himself.

Cheers,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

Attachment: signature.asc
Description: Digital signature

Reply via email to