summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2013-04-29 23:14:00 +0000
committerJason Woodward2013-04-29 23:14:00 +0000
commit37fa867d7d00a0782bbeadc58671b6b1c34b9f68 (patch)
tree450f29018f8dc6a3edeb6f566e02a87d315fcbb8
parentb7ae7b011d0e4c3da2decfb94b1364a0f21f0e9b (diff)
downloadslapt-get-37fa867d7d00a0782bbeadc58671b6b1c34b9f68.tar.gz
do not require root privs for filelist option (thanks David Unric)
-rw-r--r--ChangeLog1
-rw-r--r--src/main.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6acedc8..92fc31d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
0.10.2p Apr 29, 2013
+ * do not require root privs for filelist option (thanks David Unric)
* Added he and pt translations from transifex
* updated es_ES translation from Angelos
diff --git a/src/main.c b/src/main.c
index 0d347bb..4b8ee1d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -220,6 +220,7 @@ int main( int argc, char *argv[] )
#endif
case SLAPT_FILELIST:
do_action = FILELIST;
+ initial_config->simulate = SLAPT_TRUE; /* allow read access */
break;
default:
usage();