From 502f38687935e6239fa5aab98ab6c806f62bb1f4 Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Wed, 21 Nov 2018 10:14:32 +0000 Subject: PROGRAMMING: Update doc to reflect current practice Signed-off-by: Niels Thykier --- doc/PROGRAMMING | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'doc/PROGRAMMING') diff --git a/doc/PROGRAMMING b/doc/PROGRAMMING index bf7e9249..af4fedeb 100644 --- a/doc/PROGRAMMING +++ b/doc/PROGRAMMING @@ -359,8 +359,7 @@ reset_perm_and_owner($mode, $path...) The file owner and group is set to "root:root". The change is only done on the exact paths listed (i.e. it is *not* recursive). - To avoid issue, please pass mode as a string (i.e. '0755' - rather than 0755). + Mode should be passed as an integer (not a string). open_gz($file) Open $file, read from it as a gzip-compressed file and return the file handle. -- cgit v1.2.3