diff mbox series

[1/1] No blank at the end of the pager command and unset at the end of the for loop.

Message ID 20180605124931.22204-1-F.LaRoche@pilz.de
State Superseded
Headers show
Series [1/1] No blank at the end of the pager command and unset at the end of the for loop. | expand

Commit Message

Florian La Roche June 5, 2018, 12:49 p.m. UTC
No blank at the end of the PAGER environment setting and
unset at the end of the for loop.

Signed-off-by: Florian La Roche <F.LaRoche@pilz.de>
---
 system/skeleton/etc/profile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/system/skeleton/etc/profile b/system/skeleton/etc/profile
index 3a97427fdf..1255d23ff4 100644
--- a/system/skeleton/etc/profile
+++ b/system/skeleton/etc/profile
@@ -8,7 +8,7 @@  if [ "$PS1" ]; then
 	fi
 fi
 
-export PAGER='/bin/more '
+export PAGER='/bin/more'
 export EDITOR='/bin/vi'
 
 # Source configuration files from /etc/profile.d
@@ -16,5 +16,5 @@  for i in /etc/profile.d/*.sh ; do
 	if [ -r "$i" ]; then
 		. $i
 	fi
-	unset i
 done
+unset i