slitaz-base-files diff rootfs/usr/bin/sudo @ rev 343
fix ipinfo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 04 14:28:55 2020 +0000 (2020-10-04) |
parents | 71f423a331df |
children |
line diff
1.1 --- a/rootfs/usr/bin/sudo Fri Apr 08 19:34:06 2016 +0200 1.2 +++ b/rootfs/usr/bin/sudo Sun Oct 04 14:28:55 2020 +0000 1.3 @@ -15,7 +15,7 @@ 1.4 *) 1.5 if [ -s "$conf" ]; then 1.6 # Saved root password 1.7 - cat "$conf" | su -c "cd $pwd; $cmd" 1.8 + su -c "cd $pwd; $cmd" < "$conf" 1.9 else 1.10 su -c "cd $pwd; $cmd" 1.11 fi ;;